UNPKG
result-js
Version:
latest (4.0.2)
4.0.2
4.0.1
4.0.0
3.0.2
3.0.1
3.0.0
2.2.0
2.1.0
2.0.0
1.2.0
1.1.1
1.1.0
1.0.0
Rusty Monad Results for JS
github.com/minecrawler/result-js
minecrawler/result-js
result-js
/
src
/
result.unwrapAndThen.c.js
9 lines
(5 loc)
•
170 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
'use strict'
;
const
H =
require
(
'../interface/result.h'
).
prototype
; H.
unwrapAndThen
=
function
(
$resultEmitter
) {
return
this
.
andThen
($resultEmitter).
unwrap
(); };