1.4.0 • Published 4 years ago

waveguide v1.4.0

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
4 years ago

waveguide

npm version npm version next CircleCI Join the chat at https://gitter.im/waveguide-core/community

waveguide has been superseded by mikearnaldi/matechs-effect. This package is a based off a fork of waveguide, is used in production, and contains useful additional modules like a request client.

Waveguide is a set of modules provided data types for describing effects in Typescript in the fp-ts ecosystem inspired by scala projects such as ZIO and cats-effect. Waveguide allows you to communicate with the real world in a referentially transparent manner. For a quick overview of waveguide in action see the tutorial A companion streaming library is being incubated in waveguide-streams and will eventually become part of the core

IO is:

  • Lazy. Work is not done until explicitly asked for and interruption can be used to stop work that is no longer needed.
  • Efficient. Asynchronous boundaries only occur where necessary. The run loop will execute as much work as it can before suspending.
  • Interoperable. There are a functions to adapt Promises as well as the fp-ts effect types.
  • Resource safe. Exposes a number of primitives for working with resources and guaranteeing cleanup.
  • Concurrent. Exposes a logical fiber model with support for joins and interrupts. Write your code as a sequence of effects and communicate with other fibers rather than trying to juggle the state of all concurrent processes at once.

For more information see the docs or the tutorial.

If you have questions don't hesitate to ask them in the gitter.

1.4.0

4 years ago

1.3.0

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

1.0.0-rc.3

5 years ago

1.0.0-rc.2

5 years ago

1.0.0-rc.1

5 years ago

1.0.0-14

5 years ago

1.0.0-12

5 years ago

1.0.0-11

5 years ago

1.0.0-9

5 years ago

1.0.0-8

5 years ago

1.0.0-7

5 years ago

1.0.0-6

5 years ago

1.0.0-4

5 years ago

1.0.0-2

5 years ago

1.0.0-1

5 years ago

1.0.0-0

5 years ago

0.5.0

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.4.0-0

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago

0.0.4

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago