async-fp@7.0.0
Major Changes
-
ce259fe: The generic types of
AsyncContexthave changed.
Instead of specifying theContext, you specify theInitvalue.Through
.extend(), additionalContextwill be added to it to produce the final result.Signature of the
transformerin.extend()have also changed.
Instead of receiving aAsyncContext<Context>, you receive theContextitself,
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
- Updated dependencies [ce259fe]
- @unional/async-context@3.0.0