startup() method from fcf.Actions class
Package: fcf-framework-core
File: fcf-framework-core:fcf.js
Available from version: 2.0.2
Changes the
Result
- Self pointer
Example: Function application
let actions = new fcf.Actions({deferred: true});
actions .then (()=>{
console.log("Step 1");
})
console.log("Initialize");
actions .then (()=>{
console.log("Step 2");
})
actions .startup ();
Output:
Initialize
Step 1
Step 2