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

Function make

packages/effect/src/unstable/persistence/PersistedQueue.ts:122–129  ·  view source on GitHub ↗
(options: {
  readonly name: string
  readonly schema: S
})

Source from the content-addressed store, hash-verified

120 * @since 4.0.0
121 */
122export const make = <S extends Schema.Constraint>(options: {
123 readonly name: string
124 readonly schema: S
125}): Effect.Effect<
126 PersistedQueue<S["Type"], S["EncodingServices"] | S["DecodingServices"]>,
127 never,
128 PersistedQueueFactory
129> => PersistedQueueFactory.use((factory) => factory.make(options))
130
131/**
132 * Creates a `PersistedQueueFactory` from the current `PersistedQueueStore`.

Callers

nothing calls this directly

Calls 9

offerMethod · 0.80
useMethod · 0.65
makeMethod · 0.65
pipeMethod · 0.65
takeMethod · 0.65
fFunction · 0.50
toCodecJsonMethod · 0.45
succeedMethod · 0.45
provideMethod · 0.45

Tested by

no test coverage detected