then() method from fcf.Actions class
Package: fcf-framework-core
File: fcf-framework-core:fcf.js
Available from version: 2.0.2
Adds a handler function to the processing queue
A handler function can have two formats:
-
mixed a_cb(mixed a_lastResult) - Format without confirmation of completion of the operation. The function can be asynchronous. The execution of the next handler begins after the function has completed or thePromise orfcf.Actions object it returned has completed. -
mixed a_cb(mixed a_lastResult,fcf.Actions.Act a_act) - Format with confirmation of completion of the operation. To complete an asynchronous operation, the handler function must call thefcf.Actions.Act.complete () method orfcf.Actions.Act.error () on an error. The result passed to thefcf.Actions.Act.complete () function call will be passed to the next handler.
Function signature: a_cb(
Output: