Skip to content

return

Back to Index
return(val: value)

return effects allows a Reactor to return arbitrary values.

Return Type

While the return effect function does produce a value, the type is undefined and may change. Do not rely on the output.

Example

from {
method = args => return ('This will be returned')
}
Back to Index