Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Completed = errors.New("completed")
Functions ¶
Types ¶
type Cancelable ¶
type Cancelable interface {
CancelCause(err error)
}
type Observable ¶
type Observable[T any] interface { Value() <-chan T }
type Observer ¶
type Observer[T any] interface { Observable[T] Cancelable Done() <-chan struct{} }
type Subject ¶
type Subject[T any] struct { // contains filtered or unexported fields }
func (*Subject[T]) CancelCause ¶
type ValueNotifier ¶
type ValueNotifier[T any] interface { Send(x T) }
Click to show internal directories.
Click to hide internal directories.