fromIDBRequest()
Wrap an IndexedDB request as a one-shot source.
Import
Section titled “Import”import { fromIDBRequest } from "@graphrefly/ts/sources/browser";Signature
Section titled “Signature”function fromIDBRequest(request: IDBRequestLike<T>): Operator<never, T>Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
request | IDBRequestLike<T> | Request value to lower, route, or record. |
Returns
Section titled “Returns”A Operator<never, T> value for the boundary or adapter.
Example
Section titled “Example”import { fromIDBRequest } from "@graphrefly/ts/sources/browser";Source
Section titled “Source”packages/ts/src/sources/browser.ts