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

Method size

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

Source from the content-addressed store, hash-verified

1995 }
1996
1997 size() {
1998 return this.isEmpty() ? 0 : 1
1999 }
2000
2001 poll(): A | MutableList.Empty {
2002 if (this.isEmpty()) {

Callers

nothing calls this directly

Calls 1

isEmptyMethod · 0.95

Tested by

no test coverage detected