Skip to main content

preaction

view on npm

Generate a Plexus Action

preaction(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

.preaction(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