@tempots/dom

Signal.ofPromise property

Creates a Signal that holds the result of a Promise.

Signature:

static readonly ofPromise: (promise: Promise, init: O, recover?: (error: unknown) => O, equals?: (a: O, b: O) => boolean) => Signal;