@@ -4,7 +4,7 @@ Common Node API's wrapped to return [Fluture][] Futures.
44
55## API
66
7- #### <a name =" once " href =" https://github.com/fluture-js/fluture-node/blob/v1.1 .0/index.mjs #L9 " >` once :: String -> EventEmitter -> Future Error a ` </a >
7+ #### <a name =" once " href =" https://github.com/fluture-js/fluture-node/blob/v2.0 .0/index.js #L9 " >` once :: String -> EventEmitter -> Future Error a ` </a >
88
99Resolve a Future with the first event emitted over
1010the given event emitter under the given event name.
@@ -19,7 +19,7 @@ itself from the event emitter.
1919Future .of (42 );
2020```
2121
22- #### <a name =" buffer " href =" https://github.com/fluture-js/fluture-node/blob/v1.1 .0/index.mjs #L41 " >` buffer :: ReadableStream a -> Future Error (Array a) ` </a >
22+ #### <a name =" buffer " href =" https://github.com/fluture-js/fluture-node/blob/v2.0 .0/index.js #L41 " >` buffer :: ReadableStream a -> Future Error (Array a) ` </a >
2323
2424Buffer all data on a Stream into a Future of an Array.
2525
@@ -37,7 +37,7 @@ itself from the Stream.
3737Future .of ([Buffer .from (' hello' ), Buffer .from (' world' )]);
3838```
3939
40- #### <a name =" instant " href =" https://github.com/fluture-js/fluture-node/blob/v1.1 .0/index.mjs #L80 " >` instant :: b -> Future a b ` </a >
40+ #### <a name =" instant " href =" https://github.com/fluture-js/fluture-node/blob/v2.0 .0/index.js #L80 " >` instant :: b -> Future a b ` </a >
4141
4242Resolves a Future with the given value in the next tick,
4343using [ ` process.nextTick ` ] [ ] . The scheduled job cannot be
@@ -49,7 +49,7 @@ blocking the event loop until it's completed.
4949Future .of (' noodles' )
5050```
5151
52- #### <a name =" immediate " href =" https://github.com/fluture-js/fluture-node/blob/v1.1 .0/index.mjs#L95 " >` immediate :: b -> Future a b ` </a >
52+ #### <a name =" immediate " href =" https://github.com/fluture-js/fluture-node/blob/v2.0 .0/index.js#L96 " >` immediate :: b -> Future a b ` </a >
5353
5454Resolves a Future with the given value in the next tick,
5555using [ ` setImmediate ` ] [ ] . This job will run as soon as all
0 commit comments