async
async<
A>(fn,options?): (a) =>A
Defined in: Composition/tap.ts:182
Triggers a fire-and-forget asynchronous side effect in the background,
returning the piped value immediately and synchronously.
Any errors thrown by the async function are caught and forwarded to onError.
Type Parameters
Section titled “Type Parameters”A
Parameters
Section titled “Parameters”(a) => Thenable<unknown>
options?
Section titled “options?”Returns
Section titled “Returns”(a) => A