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

Method constructor

packages/effect/src/PubSub.ts:2698–2700  ·  view source on GitHub ↗
(capacity: number)

Source from the content-addressed store, hash-verified

2696 publisherIndex = 0
2697
2698 constructor(capacity: number) {
2699 this.capacity = capacity
2700 }
2701
2702 slide(value: A, publisherIndex: number): void {
2703 this.slideValues[this.index % this.capacity] = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected