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

Method size

packages/effect/src/PubSub.ts:1921–1923  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1919 }
1920
1921 size(): number {
1922 return this.isEmpty() ? 0 : 1
1923 }
1924
1925 publish(value: A): boolean {
1926 if (this.isFull()) {

Callers

nothing calls this directly

Calls 1

isEmptyMethod · 0.95

Tested by

no test coverage detected