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

Method subscriptions

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

A subscriptions function, with the definition's Model, props and query results.

(
    subscriptions: (
      $: Current<Model, Props, QueryResults<L>>
    ) => ReadonlyArray<Sub | false | null | undefined>
  )

Source from the content-addressed store, hash-verified

2951 ) => UR[keyof UR]
2952 /** A subscriptions function, with the definition's Model, props and query results. */
2953 subscriptions<Sub extends Subscription.Subscription<Msg, any>>(
2954 subscriptions: (
2955 $: Current<Model, Props, QueryResults<L>>
2956 ) => ReadonlyArray<Sub | false | null | undefined>

Callers 7

Component.tst.tsFile · 0.80
fireGlobalMethod · 0.80
fireDeclaredMethod · 0.80
declaredFunction · 0.80
subscriptionsFunction · 0.80
subscriptionFunction · 0.80
syncFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected