async-fp

Asynchronous Functional Programming Utilities

Downloads
668
Stars
2
Committers
5

Bot releases are hidden (Show)

async-fp - @unional/[email protected]

Published by unional about 2 years ago

Patch Changes

  • ba8202e: The CurrentContext in extend<CurrentContext, AdditionalContext>() can now be overridden.
async-fp - [email protected]

Published by unional about 2 years ago

Patch Changes

async-fp - [email protected]

Published by unional about 2 years ago

Major Changes

  • ce259fe: The generic types of AsyncContext have changed.
    Instead of specifying the Context, you specify the Init value.

    Through .extend(), additional Context will be added to it to produce the final result.

    Signature of the transformer in .extend() have also changed.
    Instead of receiving a AsyncContext<Context>, you receive the Context itself,
    in which you return an additional context that augments or add to it.

    .get() can override the context type returned.
    This is useful when you extend the context out-of-band,
    and you are not reassigning the context to update the type,
    or when the creating code do not know how it will be extended.

Patch Changes

async-fp - @unional/[email protected]

Published by unional about 2 years ago

Major Changes

  • ce259fe: The generic types of AsyncContext have changed.
    Instead of specifying the Context, you specify the Init value.

    Through .extend(), additional Context will be added to it to produce the final result.

    Signature of the transformer in .extend() have also changed.
    Instead of receiving a AsyncContext<Context>, you receive the Context itself,
    in which you return an additional context that augments or add to it.

    .get() can override the context type returned.
    This is useful when you extend the context out-of-band,
    and you are not reassigning the context to update the type,
    or when the creating code do not know how it will be extended.

async-fp - v4.0.0

Published by unional over 4 years ago

4.0.0 (2020-02-12)

Features

BREAKING CHANGES

  • API change

Switch to class implementation.
So that both implementation and type are the same.

async-fp - v3.1.1

Published by unional over 4 years ago

3.1.1 (2020-02-10)

Bug Fixes

  • require iso-error as range (3df289e)
async-fp - v3.1.0

Published by unional over 4 years ago

3.1.0 (2020-02-10)

Features

async-fp - v3.0.0

Published by unional over 4 years ago

3.0.0 (2020-02-10)

Bug Fixes

BREAKING CHANGES

  • drop NodeJS 8
async-fp - v2.0.1

Published by unional almost 5 years ago

2.0.1 (2019-12-28)

Bug Fixes

async-fp - v2.0.0

Published by unional almost 5 years ago

2.0.0 (2019-12-27)

Features

  • restrict to only one time set of context (#19) (d7ae502)

BREAKING CHANGES

  • context can only be set once

This aligns better with functional programming paradigm

async-fp - v1.2.4

Published by unional almost 5 years ago

1.2.4 (2019-12-27)

Bug Fixes

async-fp - v1.2.3

Published by unional about 5 years ago

1.2.3 (2019-09-12)

Bug Fixes

  • package: update iso-error to version 2.4.0 (#15) (6bffa60)
async-fp - v1.2.2

Published by unional about 5 years ago

1.2.2 (2019-08-13)

Bug Fixes

  • package: update iso-error to version 2.3.0 (#14) (e7ec382)
async-fp - v1.2.1

Published by unional over 5 years ago

1.2.1 (2019-07-15)

Bug Fixes

  • package: update iso-error to version 2.2.0 (#12) (bf2f9b3), closes #11
async-fp - v1.2.0

Published by unional over 5 years ago

1.2.0 (2019-04-15)

Features

async-fp - v1.1.3

Published by unional over 5 years ago

1.1.3 (2019-04-14)

Bug Fixes

async-fp - v1.1.2

Published by unional over 5 years ago

1.1.2 (2019-04-14)

Bug Fixes

async-fp - v1.1.1

Published by unional over 5 years ago

1.1.1 (2019-04-11)

Bug Fixes

async-fp - v1.1.0

Published by unional over 5 years ago

1.1.0 (2019-04-11)

Features

async-fp - v1.0.0

Published by unional over 5 years ago

1.0.0 (2019-04-10)

Features

  • support sync/async create and merge (764e34e)