Package Exports
- pull-map-last
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pull-map-last) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
pull-map-last
Like pull-stream/throughs/map except also takes a function to be called when the source ends.
Used to create streams that map 1:1 with input, but also need a special case for the end of the stream.
Example
pull(
source...,
MapLast(function each (data) {
return the transformed item...
}, function () {
return last item...
}),
...sink
)
License
MIT