lift
lift<
I,A>(f):Op<I,unknown,A>
Defined in: Core/Op.ts:526
Lifts a plain async function into an Op, treating all errors as unknown.
Use this when you have a simple async function that doesn’t need custom error mapping. The signal is passed so the operation can respect cancellation.
Type Parameters
Section titled “Type Parameters”I
A
Parameters
Section titled “Parameters”(input, signal) => Promise<A>
Returns
Section titled “Returns”Op<I, unknown, A>