org
.
atnos
.
eff
AsyncFutureInterpreter
Related Docs:
object AsyncFutureInterpreter
|
package eff
case class
AsyncFutureInterpreter
(
executors:
ExecutorServices
)
extends
AsyncInterpreter
[
Future
] with
Product
with
Serializable
Self Type
AsyncFutureInterpreter
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AsyncInterpreter
[
Future
],
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
AsyncFutureInterpreter
Serializable
Serializable
Product
Equals
AsyncInterpreter
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
AsyncFutureInterpreter
(
executors:
ExecutorServices
)
Type Members
final
class
RunAsyncFutureOps
[
A
]
extends
AnyRef
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
implicit
lazy val
executionContext
:
ExecutionContext
implicit
lazy val
executorService
:
ExecutorService
val
executors
:
ExecutorServices
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
run
[
A
]
(
r:
Async
[
A
]
)
:
Future
[
A
]
def
runAsync
[
A
]
(
e:
Eff
[
fx1
[
Async
],
A
]
)
:
Future
[
A
]
Definition Classes
AsyncFutureInterpreter
→
AsyncInterpreter
def
runSequential
[
A
]
(
e:
Eff
[
fx1
[
Async
],
A
]
)
:
Future
[
A
]
Definition Classes
AsyncFutureInterpreter
→
AsyncInterpreter
implicit
lazy val
scheduledExecutorService
:
ScheduledExecutorService
def
subscribeToFuture
[
A
]
(
e:
Eff
[
Fx1
[
Subscribe
],
A
]
,
timeout:
Option
[
FiniteDuration
]
)
(
implicit
m:
<=
[
Subscribe
,
Fx1
[
Subscribe
]]
)
:
Eff
[
Fx1
[
Future
],
A
]
def
subscribeToFutureNat
(
timeout:
Option
[
FiniteDuration
]
)
:
~>
[
Subscribe
,
Future
]
def
suspend
[
R
,
A
]
(
future: ⇒
Future
[
Eff
[
R
,
A
]]
)
(
implicit
arg0:
all._async
[
R
]
)
:
Eff
[
R
,
A
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
implicit final
def
toRunAsyncFutureOps
[
A
]
(
e:
Eff
[
fx1
[
Async
],
A
]
)
:
RunAsyncFutureOps
[
A
]
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
withTimeout
[
A
]
(
future: ⇒
Future
[
A
]
,
timeout:
Option
[
FiniteDuration
]
)
:
Future
[
A
]
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AsyncInterpreter
[
Future
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped