0.1.11 • Published 3 years ago

observable-utils v0.1.11

Weekly downloads
50
License
-
Repository
-
Last release
3 years ago

observable-utils

A collection of lightweight, bundle-friendly, cherry-pickable utilities for manipulating ES7/TC39 Observables, Observers, and Subscriptions. All Observables produced meet the spec and all functions that take an Observable will take any Observable that meets the spec.

combineLatest

combineLatest: (arrayOrMapOfObservables, projectionFunction) -> observableArrayOrMap

Like rxjs's combineLatest, but supports either arrays or Objects as first parameters. If given an object, will create an observable object combining the latest values of the input object's keys.

createSubject

createBehaviorSubject

createSubscription

defineObservableSymbol

emptySubscription

subscribeFunctionsAdapter

subscribeObserverAdapter

test

Helper to assist in writing unit tests for Observables.

0.1.11

3 years ago

0.1.10

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.1

7 years ago