obs

package
v0.0.7-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromAnonymous

func FromAnonymous[T any](observable func(rx.Subscriber[T])) rx.Observable[T]

func New

func New[T any](options ...subject.Option[T]) rx.Observable[T]

Types

type Anonymous

type Anonymous[T any] func(rx.Subscriber[T])

func (Anonymous[T]) Subscribe

func (a Anonymous[T]) Subscribe(observer rx.Observer[T]) rx.Subscription

Subscribe implements rx.Observable.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL