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