Documentation
¶
Overview ¶
Package changeobservers is the list of callbacks an owner of replicated state runs after the state changes, so the extension host can push it to the runtimes that replicate it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Observers ¶
type Observers struct {
// contains filtered or unexported fields
}
Observers is a set of callbacks that run after a change to the state their owner holds. A registration replaces the list and never edits it, so Notify reads it without a lock and without allocating, from any goroutine and while the owner holds its own locks.
Click to show internal directories.
Click to hide internal directories.