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

Method unsafeSize

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

Source from the content-addressed store, hash-verified

315 })
316 })
317 unsafeSize(): Option.Option<number> {
318 const size = this.messages.length + this.messagesChunk.length
319 return this.state._tag === "Done" ? Option.none() : Option.some(size)
320 }
321 size = core.sync(() => this.unsafeSize())
322
323 commit() {

Callers 2

MailboxImplClass · 0.95
toJSONMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected