(options?: {
readonly database?: string
})
| 587 | * @category indexed db |
| 588 | */ |
| 589 | export const layerIndexedDb = (options?: { |
| 590 | readonly database?: string |
| 591 | }): Layer.Layer<EventJournal, EventJournalError> => |
| 592 | Layer.scoped( |
| 593 | EventJournal, |
| 594 | makeIndexedDb(options) |
| 595 | ) |
| 596 | |
| 597 | const idbReq = <T>(method: string, evaluate: () => IDBRequest<T>) => |
| 598 | Effect.async<T, EventJournalError>((resume) => { |
nothing calls this directly
no test coverage detected