Skip to main content

action

view on npm

Generate a Plexus Action

action(fn) ⇒

Generate a Plexus Action

Returns:

The intended return value of fn, or null if an error is caught

ParamDescription
fn

The Plexus action function to run

.action(fn) ⇒

Generate a Plexus Action

Returns:

The intended return value of fn, or null if an error is caught

ParamDescription
fn

The Plexus action function to run