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

Function make

packages/effect/src/TxPriorityQueue.ts:180–181  ·  view source on GitHub ↗
(order: Order<A>)

Source from the content-addressed store, hash-verified

178 * @since 2.0.0
179 */
180export const make = <A>(order: Order<A>) => (...elements: Array<A>): Effect.Effect<TxPriorityQueue<A>> =>
181 fromIterable(order, elements)
182
183/**
184 * Returns the number of elements in the queue.

Callers

nothing calls this directly

Calls 1

fromIterableFunction · 0.70

Tested by

no test coverage detected