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

Method send

packages/effect/src/ui/Component.ts:918–918  ·  view source on GitHub ↗

* Sends `message` to the nearest instance of `provider` above this one, as * this `update` applies, before its emits are delivered. `provider` is a * headless component with `shares`, or a `SharedKey`, and `message` one of * the messages it `receives`. * * **Details** * * The se

(
    provider: O,
    message: NoInfer<SendMessage<Shared.Receives<O>>>
  )

Source from the content-addressed store, hash-verified

916 * loop.
917 */
918 send<O extends Shared.Provider>(
919 provider: O,
920 message: NoInfer<SendMessage<Shared.Receives<O>>>
921 ): Step<Model, Msg, Events, R | (Shared.Of<O> & SendTarget<KeyOf<O>>), L>

Callers 15

replyFunction · 0.65
sendWebSocketCompletedFunction · 0.65
createResponseStreamFunction · 0.65
sendBodyFunction · 0.65
Socket.tsFile · 0.65
writeFunction · 0.65
burstFunction · 0.65
requestFunction · 0.65
nativeClientFunction · 0.65
nativeEchoServerFunction · 0.65

Calls

no outgoing calls

Tested by 15

replyFunction · 0.52
sendWebSocketCompletedFunction · 0.52
modeFunction · 0.52
setupFunction · 0.52
stickyFunction · 0.52
setFunction · 0.52
setPropsFunction · 0.52
setPropsFunction · 0.52
blockingReadFunction · 0.52
pingFunction · 0.52
switchUsersFunction · 0.52