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

Method shared

packages/effect/src/ui/testing/Steps.ts:454–454  ·  view source on GitHub ↗

* Overrides the value `provider` shares with the component. * * **Details** * * `provider` is a headless component with `shares`, or its `SharedKey`. * The value is keyed by provider, not by a reader's local name, so one step * reaches the scene's component and every headless child

(
    provider: O,
    value: Component.Shared.Value<O>
  )

Source from the content-addressed store, hash-verified

452 * given is dropped.
453 */
454 shared<O extends Component.Shared.Provider>(
455 provider: O,
456 value: Component.Shared.Value<O>
457 ): this

Callers 15

Send.tst.tsFile · 0.65
Shared.tst.tsFile · 0.65
Queries.test.tsFile · 0.65
Shared.test.tsFile · 0.65
itemSceneFunction · 0.65
Accordion.test.tsFile · 0.65
Slider.test.tsFile · 0.65
Toolbar.test.tsFile · 0.65
RadioGroup.test.tsFile · 0.65
OTPField.test.tsFile · 0.65
Tabs.test.tsFile · 0.65

Calls

no outgoing calls

Tested by 1

itemSceneFunction · 0.52