MCPcopy Index your code
hub / github.com/Effect-TS/effect / unsafeSize

Method unsafeSize

packages/effect/src/internal/mailbox.ts:312–315  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

310 })
311 })
312 unsafeSize(): Option.Option<number> {
313 const size = this.messages.length + this.messagesChunk.length
314 return this.state._tag === "Done" ? Option.none() : Option.some(size)
315 }
316 size = core.sync(() => this.unsafeSize())
317
318 commit() {

Callers 2

MailboxImplClass · 0.95
toJSONMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected