MCPcopy Create free account
hub / github.com/Effect-TS/effect / withTransferables

Function withTransferables

packages/sql/sqlite-wasm/src/SqliteClient.ts:492–493  ·  view source on GitHub ↗
(transferables: ReadonlyArray<Transferable>)

Source from the content-addressed store, hash-verified

490 */
491export const withTransferables =
492 (transferables: ReadonlyArray<Transferable>) => <A, E, R>(effect: Effect.Effect<A, E, R>): Effect.Effect<A, E, R> =>
493 Effect.provideService(effect, Transferables, transferables)
494
495/**
496 * Builds a layer from an Effect `Config` value, providing both the in-memory SQLite WASM `SqliteClient` service and the generic `SqlClient` service.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected