libretto.scaletto.impl.futurebased

Members list

Concise view

Type members

Classlikes

opaque object BridgeImpl extends ScalettoBridge

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class FutureExecutor(ec: ExecutionContext, scheduler: Scheduler, blockingExecutor: Executor) extends ScalettoExecutor

Executor of FreeScaletto based on Futures and Promises.

Executor of FreeScaletto based on Futures and Promises.

It is known to be flawed by design in that it might create long (potentially infinite) chains of Promises. This could be solved with a custom implementation of promises/futures that support unregistration of listeners.

On top of that, expect bugs, since the implementation is full of unsafe type casts, because Scala's (including Dotty's) type inference cannot cope with the kind of pattern matches found here.

Attributes

Companion:
object
Graph
Supertypes
trait Executor
class Object
trait Matchable
class Any
class SchedulerFromScheduledExecutorService(scheduler: ScheduledExecutorService) extends Scheduler

Attributes

Graph
Supertypes
trait Scheduler
class Object
trait Matchable
class Any