libretto.scaletto.impl.futurebased

Members list

Type members

Classlikes

opaque object BridgeImpl extends ScalettoBridge

Attributes

Supertypes
trait ClosedBridge
trait CoreBridge
class Object
trait Matchable
class Any
Show all
Self type
BridgeImpl.type

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class FutureExecutor(ec: ExecutionContext, scheduler: Scheduler, blockingEC: ExecutionContext) 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
Supertypes
trait Executor
class Object
trait Matchable
class Any
class SchedulerFromScheduledExecutorService(scheduler: ScheduledExecutorService) extends Scheduler

Attributes

Supertypes
trait Scheduler
class Object
trait Matchable
class Any