BaseAgent

open class BaseAgent : Agent

Convenience open base class for agents that do not need to suspend.

Override receiveEvent with synchronous code; the suspend keyword is still honoured by the dispatcher, but the body never actually suspends.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open suspend override fun receiveEvent(event: Event): List<Event>