Returns a Do
of B
based on a Do
of Value
and a function that creates a Do
of B
,
for those B
do not reference to Value
or Value
is a garbage collected object.
Returns a Do
of B
based on a Do
of Value
and a function that creates a Do
of B
,
for those B
do not reference to Value
or Value
is a garbage collected object.
intransitiveFlatMap
is similar to flatMap
in asynchronousDoMonadErrorInstances,
except intransitiveFlatMap
will release Value
right after B
is created.
Don't use this method if you need to retain Value
until B
is released.
Returns a Do
of B
based on a Do
of Value
and a function that creates B
,
for those B
do not reference to Value
or Value
is a garbage collected object.
Returns a Do
of B
based on a Do
of Value
and a function that creates B
,
for those B
do not reference to Value
or Value
is a garbage collected object.
intransitiveMap
is similar to map
in asynchronousDoMonadErrorInstances,
except intransitiveMap
will release Value
right after B
is created.
Don't use this method if you need to retain Value
until B
is released.
Returns a Future
of Value
, which will open Value
and release all resources during opening Value
.
Returns a Future
of Value
, which will open Value
and release all resources during opening Value
.
Value
itself must not be a scoped resources,
though Value
may depends on some scoped resources during opening Value
.
Converts asynchronousDo
to a reference counted wrapper.