Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Observable ¶
type Observable struct {
// contains filtered or unexported fields
}
func NewObservable ¶
func NewObservable(any Iterable) *Observable
func (*Observable) Subscribe ¶
func (o *Observable) Subscribe() (Subscription, error)
func (*Observable) UnSubscribe ¶
func (o *Observable) UnSubscribe(sub Subscription)
type Subscriber ¶
type Subscriber struct {
// contains filtered or unexported fields
}
func (*Subscriber) Close ¶
func (s *Subscriber) Close()
func (*Subscriber) Emit ¶
func (s *Subscriber) Emit(item interface{})
func (*Subscriber) Out ¶
func (s *Subscriber) Out() Subscription
type Subscription ¶
type Subscription <-chan interface{}
Click to show internal directories.
Click to hide internal directories.