Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State[T any] struct { // contains filtered or unexported fields }
func (*State[T]) GetTimestamp ¶
func (*State[T]) Subscribe ¶
func (rs *State[T]) Subscribe(subscriber StateSubscriber[T])
type StateSubscriber ¶
type StateSubscriber[T any] func(old, state *T)
Click to show internal directories.
Click to hide internal directories.