Reference

@reckona/mreact-reactive-core/internal

13 public exports.

Function

FunctionflushPendingComputedfunction flushPendingComputed(): voidComputed flush helper used by batched reactive updates.FunctionflushQueuedComputationsfunction flushQueuedComputations(): voidScheduler controls used by reactive-core tests and integrations.FunctionnotifySubscribersfunction notifySubscribers(source: Source): voidLow-level source helpers used by reactive DOM keyed item proxies.FunctionregisterCleanupfunction registerCleanup(dispose: (): void): voidCleanup scope helpers used by reactive DOM and tests.FunctionschedulePendingFlushfunction schedulePendingFlush(): voidScheduler controls used by reactive-core tests and integrations.FunctionsetSchedulerfunction setScheduler(nextScheduler: Scheduler): (): voidScheduler controls used by reactive-core tests and integrations.FunctionsubscribeCellfunction subscribeCell<T>(cell: ReadonlyCell<T>, listener: (value: T): void): (): void | undefinedLow-level cell subscription used by reactive DOM single-cell bindings.FunctiontrackSourcefunction trackSource(source: Source): voidLow-level source helpers used by reactive DOM keyed item proxies.FunctionwithCleanupScopefunction withCleanupScope<T>(owner: (dispose: (): void): void, run: (): T): TCleanup scope helpers used by reactive DOM and tests.

Interface

InterfaceSchedulerinterface SchedulerScheduler used to enqueue pending reactive computations.InterfaceSourceinterface Source

Re-export

Re-exportgetGlobalRuntimeStateconst getGlobalRuntimeState: unknownShared global runtime state helper for singleton package state.

Variable

VariableruntimeStateconst runtimeState: { activeTracker: Tracker; batchDepth: number; cleanupOwner: (dispose: (): void): void | undefined; flushingComputed: boolean; nextComputationId: number; notificationDepth: number; pendingComputed: Set<ReactiveComputation> }