Release 1.0.0
date: 2021-08-15
New Features
- The enhanced generator types are now exported as
Sync.GeneratorandAsync.Generator. - The literal types
'sync'and'async'are available asSync.typeand `Async.type'. Sync.wrapandAsync.wraptake a function returning an iterator and return an iterable object that
invokes that function, along with the enhanced methods likemap()andfilter(), allowing them to be
treated in a manner similar to an array.
Incompatible Changes
- [typescript] If you import directly from the
'sync'or'async'modules, theSyncorAsyncexported from there
is no longer the literal type 'sync'or'async', but rather theSyncorAsync.typeorAsync.type
instead.
Other Changes
- Make
SyncandAsyncexports be namespaces. - Export
EnhancedGeneratorandEnhnancedAsyncGeneratorasSync.GeneratorandAsync.Generator - Export the mixins as
Sync.MixinandAsync.Mixin - Add
Sync.wrapandAsync.wrap - Prune and enhance the documentation.