external
is used to wrap the external action asynchronous attribute recognition of an asynchronous action.
external(action)
external(action)
@external()
action(function): async action
(function): wrapped with external asynchronous feature action
const pipe = iFlow({
calculate: external(async function (number) {
// do async something
}),
counter: 0,
})