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

Method tell

packages/effect/src/internal/fiberRuntime.ts:443–449  ·  view source on GitHub ↗

* Adds a message to be processed by the fiber on the fiber.

(message: FiberMessage.FiberMessage)

Source from the content-addressed store, hash-verified

441 * Adds a message to be processed by the fiber on the fiber.
442 */
443 tell(message: FiberMessage.FiberMessage): void {
444 this._queue.push(message)
445 if (!this._running) {
446 this._running = true
447 this.drainQueueLaterOnExecutor()
448 }
449 }
450
451 get await(): Effect.Effect<Exit.Exit<A, E>> {
452 return core.async((resume) => {

Callers 11

resumeMethod · 0.95
askMethod · 0.95
awaitMethod · 0.95
interruptAsForkMethod · 0.95
unsafeInterruptAsForkMethod · 0.95
evaluateEffectMethod · 0.95
startMethod · 0.95
startForkMethod · 0.95
callbackMethod · 0.95
addMethod · 0.80

Calls 1

Tested by

no test coverage detected