1.0.0 • Published 8 years ago

@basic-streams/of v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 years ago

@basic-streams/of

of<T>(value: T): Stream<T>

Creates a stream containing the given value.

import of from "@basic-streams/of"

const stream = of(1)

stream(x => {
  console.log(x)
})

// > 1
1.0.0

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.1

8 years ago