object ManualTime
Manual time allows you to do async tests while controlling the scheduler of the system.
To use it you need to configure the ActorSystem
/ActorTestKit
with ManualTime.config and access the
scheduler control through ManualTime.get()
- Source
- ManualTime.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ManualTime
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
def
config(): Config
Config that needs to be in place for the actor system to use the manual
-
def
get[A](system: typed.ActorSystem[A]): ManualTime
Access the manual scheduler, note that you need to setup the actor system/testkit with config() for this to work.