fcf.actions() function
Package: fcf-framework-core
File: fcf-framework-core:fcf.js
Available from version: 2.0.2
Creates an
Arguments
{deferred , noexcept , errorResult } a_options
- Additional object initialization parameters
-
boolean deferred =false - If the flag istrue , then the added callbacks will not be executed until thefcf.Actions.startup () method is called. -
boolean noexcept =false - If the flag istrue , then when the callback ends with an error, the queue is not stopped and the handlers passed tocatch are not called. -
mixed errorResult =undefined - The result returned by theresult () method in case of an error -
boolean quiet =false - Iftrue , no raw error messages are printed to the console.
Result
- A new object
Example: Function application
fcf.actions()
.then (()=>{
// doing something ...
});