Documentation ¶
Index ¶
- type C
- type V
- func (v *V[T]) Copying(f func(T) T) *C[T]
- func (v *V[T]) Get(ctx context.Context, version uint64) (T, uint64, error)
- func (v *V[T]) GetAny(ctx context.Context) (T, uint64, error)
- func (v *V[T]) Listen(ctx context.Context, f func(t T) error) error
- func (v *V[T]) Notify(ctx context.Context) <-chan T
- func (v *V[T]) Peek() (T, error)
- func (v *V[T]) Set(t T)
- func (v *V[T]) Sync(f func())
- func (v *V[T]) Update(f func(t T) T)
- func (v *V[T]) UpdateOpt(f func(t T) (T, bool)) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.