FCF 2.0 development in progress...
> > > >
[News] [Packages API] [Downloads] [Donate to the project] [Contacts]

fcf.actions() function

fcf.Actions fcf.actions()
fcf.Actions fcf.actions({deferred, noexcept, errorResult} a_options)

Package: fcf-framework-core

File: fcf-framework-core:fcf.js

Available from version: 2.0.2

Creates an fcf.Actions object

Arguments

{deferred, noexcept, errorResult} a_options
- Additional object initialization parameters
  • boolean deferred = false - If the flag is true, then the added callbacks will not be executed until the fcf.Actions.startup() method is called.

  • boolean noexcept = false - If the flag is true, then when the callback ends with an error, the queue is not stopped and the handlers passed to catch are not called.

  • mixed errorResult = undefined - The result returned by the result() method in case of an error

  • boolean quiet = false - If true, no raw error messages are printed to the console.

Result
fcf.Actions
- A new object

Example: Function application

fcf.actions() .then(()=>{ // doing something ... });