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

Function initSet

packages/effect/src/ui/Component.ts:1288–1301  ·  view source on GitHub ↗
(model: unknown)

Source from the content-addressed store, hash-verified

1286 : ($, msg) => update[(msg as { readonly _tag: string })._tag]($, msg)
1287
1288const initSet = (model: unknown) =>
1289 makeStep(
1290 model,
1291 noEffects,
1292 noEffects,
1293 noEffects,
1294 noEffects,
1295 undefined
1296 ) as Step<
1297 any,
1298 any,
1299 any,
1300 never
1301 >
1302const makeInit = (props: unknown): Init<any, any, any, any> => ({
1303 props,
1304 set: initSet

Callers

nothing calls this directly

Calls 1

makeStepFunction · 0.85

Tested by

no test coverage detected