MCPcopy
hub / github.com/marimo-team/marimo / sub

Method sub

frontend/src/core/state/observable.ts:7–7  ·  view source on GitHub ↗
(callback: (value: T) => void)

Source from the content-addressed store, hash-verified

5export interface Observable<T> {
6 get(): T;
7 sub(callback: (value: T) => void): () => void;
8}
9
10/**

Callers 15

constructorMethod · 0.80
waitForFunction · 0.80
useJotaiEffectFunction · 0.80
createObservableFunction · 0.80
constructorMethod · 0.80
destroyMethod · 0.80
destroyMethod · 0.80
dynamicReadonlyFunction · 0.80
constructorMethod · 0.80
initializeIslandsFunction · 0.80
contextual_defsMethod · 0.80

Calls

no outgoing calls