Reactor Core: signals, event bus, job scheduler, and coordinator kernel
These are versions of this script where the code was updated. Show all versions.
BrazenReactor.js
BrazenSignals
globalThis.BrazenSignals
atom
replicaAtom
computed
effect
batch
applyPatches
markDependency
assertAcyclic
BrazenSignalCycleError
BrazenEventBus
BrazenJobRegistry
register
get
types
JOB_TYPE_RESOLVE
JOB_TYPE_DOWNLOAD
globalThis
BrazenScheduler
schedule
enqueue
cancelPending
cancel
runReady
runUntilIdle
pendingCount
ctx.spawn
reassess
BrazenScheduler.scheduleLocal
BrazenKernel.scheduleLocal
BrazenScheduler.cancelAll()
scope: 'local' | 'coordinator'
BrazenKernel
start()
stop()
isCoordinator()
requestCoordinatorRole
getSeq()
dispatch()
handleCommand()
handleSnapshotRequest()
hydrate()
commitStatePatches
onCommandApplied
coordinatorLockName
abortSignal
pagehide
pageshow
signals.effect
name
BrazenReactorProfiler
globalThis.BrazenReactorProfiler
globalThis.__brazenReactor
mark
time
enter
exit
report()
dump()
clear()
exportLog()
localStorage['brazen:reactor:profile'] = 'disabled'
pushCause
withCause
noteReentrant
originCauseId
noteScheduledReentrant
summary()
sessionStorage
lastIncident
enterProductiveBusy()
kernelHydrate
_invokeReposWriteThrough
repos.kernelWriteThrough
confirm-tag-discovery
Kernel.handleCommand
_ensureSchedulerPump()
_scheduleJobsForCommand
enqueue-download
resolve
pipeline-pump
markSnapshotReady()
requestSnapshot()
_captureReentrancyOrigin
enterProductiveBusy
exitProductiveBusy
process-item
_schedulerPumpRunning
runReady()
brazenSchedulerSkip
skipped
done
Object.is
reduce
Math.max(...spread)
_deliveryQueue
nextSeq
requestSnapshot
_depsSatisfied
_executeJob
_terminal
_jobControllers
_localSeq