function until
thefrontside/effectionfunction until<T>(promise: PromiseLike<T>): Operation<T>
It can be used to treat a promise as an operation. This function
is a replacement to the deprecated call(promise)
function form.
Examples
Example 1
let response = yield* until(fetch('https://google.com'));
Type Parameters
T
Parameters
promise: PromiseLike<T>
Return Type
https://effection-www-pggsafb7y58a.deno.dev/api/v3/Operation<T>