@yingyeothon/actor-system
Version:
A basic actor system only using a queue and a lock.
7 lines (6 loc) • 301 B
TypeScript
import ActorLogger from "../env/logger";
import ActorProperty from "../env/property";
import AwaiterWait from "../../awaiter/wait";
export default function awaitMessage(env: ActorProperty & ActorLogger & {
awaiter: AwaiterWait;
}, messageId: string, awaitTimeoutMillis: number): Promise<boolean>;