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

Method run

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

* Runs Commands owned by this instance: each ends when the instance does, * and gets a Scope of its own that closes with it. Their results come back as * messages, so a Command whose result isn't this component's message or * `Component.noop` is rejected. A result of `Component.noop` sends

(
    this: Self,
    ...commands: C
  )

Source from the content-addressed store, hash-verified

874 * `Component.noop` is rejected. A result of `Component.noop` sends nothing.
875 */
876 run<
877 Self extends InitStep<Model, Msg, Events, unknown>,
878 const C extends ReadonlyArray<Command.Command<Msg | Noop, unknown>>
879 >(

Callers 15

runFunction · 0.65
bin.tsFile · 0.65
main.tsFile · 0.65
bin.tsFile · 0.65
NpmCliClass · 0.65
releasePackagesFunction · 0.65
readFunction · 0.65
packagesAtBumpFunction · 0.65
versionBumpFunction · 0.65
main.tsFile · 0.65
main.tsFile · 0.65
RollupClass · 0.65

Calls

no outgoing calls

Tested by 15

entriesFunction · 0.52
withActiveSpanFunction · 0.52
runWithStoreFunction · 0.52
runFunction · 0.52
makeAppFunction · 0.52
makeAppFunction · 0.52
makeAppFunction · 0.52
makeFormFunction · 0.52
makeSearchFunction · 0.52
makeStubbornFunction · 0.52
makeCleanupFunction · 0.52
makeAppFunction · 0.52