org
.
atnos
.
eff
.
addon
.
scalaz
.
concurrent
AsyncTaskInterpreter
Related Docs:
object AsyncTaskInterpreter
|
package concurrent
case class
AsyncTaskInterpreter
(
executors:
ExecutorServices
)
extends
AsyncInterpreter
[
Task
] with
Product
with
Serializable
Self Type
AsyncTaskInterpreter
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AsyncInterpreter
[
Task
],
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
AsyncTaskInterpreter
Serializable
Serializable
Product
Equals
AsyncInterpreter
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
AsyncTaskInterpreter
(
executors:
ExecutorServices
)
Type Members
implicit
class
RunAsyncTaskOps
[
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
val
executorService
:
ExecutorService
val
executors
:
ExecutorServices
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
fromTask
[
R
,
A
]
(
task: ⇒
Task
[
A
]
)
(
implicit
arg0:
all._async
[
R
]
)
:
Eff
[
R
,
A
]
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
]
)
:
Task
[
A
]
def
runAsync
[
A
]
(
e:
Eff
[
fx1
[
Async
],
A
]
)
:
Task
[
A
]
Definition Classes
AsyncTaskInterpreter
→ AsyncInterpreter
def
runSequential
[
A
]
(
e:
Eff
[
fx1
[
Async
],
A
]
)
:
Task
[
A
]
Definition Classes
AsyncTaskInterpreter
→ AsyncInterpreter
val
scheduledExecutorService
:
ScheduledExecutorService
def
subscribeToTask
[
A
]
(
e:
Eff
[
Fx1
[
Subscribe
],
A
]
,
timeout:
Option
[
FiniteDuration
]
)
(
implicit
m:
<=
[
Subscribe
,
Fx1
[
Subscribe
]]
)
:
Eff
[
Fx1
[
Task
],
A
]
def
subscribeToTaskNat
(
timeout:
Option
[
FiniteDuration
]
)
:
~>
[
Subscribe
,
Task
] { implicit val ec: scala.concurrent.ExecutionContext }
def
suspend
[
R
,
A
]
(
task: ⇒
Task
[
Eff
[
R
,
A
]]
)
(
implicit
arg0:
all._async
[
R
]
)
:
Eff
[
R
,
A
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
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
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AsyncInterpreter
[
Task
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped