Action.Return

 

Action.Return(value as any) as action

Creates an action that performs no action when executed and returns value as its result.

Creates an action that, when executed, performs no action and returns the value "hello world!" as its result.

Action.Return("hello world!")

action

Show: