complete() method from fcf.Actions.Act class
Package: fcf-framework-core
File: fcf-framework-core:fcf.js
Available from version: 2.0.2
Ends the execution of an asynchronous action and sets the execution result
Arguments
- Delayed action value to be set
Example: Function application
fcf.actions()
.then ((a_lastResult, a_act )=>{
a_act .complete ("Result value");
})
.then ((a_lastResult)=>{
console.log(a_lastResult);
});
Output:
Result value