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

Function make

packages/effect/src/PartitionedSemaphore.ts:198–200  ·  view source on GitHub ↗
(options: {
  readonly permits: number
})

Source from the content-addressed store, hash-verified

196 * @experimental
197 */
198export const make = <K = unknown>(options: {
199 readonly permits: number
200}): Effect.Effect<PartitionedSemaphore<K>> => Effect.sync(() => makeUnsafe<K>(options))

Callers

nothing calls this directly

Calls 2

syncMethod · 0.80
makeUnsafeFunction · 0.70

Tested by

no test coverage detected