private isProcessing = false; private status: 'running' | 'stopped' = 'running';
public stop(ref: ActorRef): void this.root.stopChild(ref); actorcore
private async processNext(): Promise<void> if (this.status !== 'running') this.isProcessing = false; return; private isProcessing = false; private status: 'running' |
If you’ve scrolled through TikTok or Pinterest lately, you’ve likely seen it: the baggy sweaters, the dog-eared paperbacks, the worn-in loafers, and the intense gaze of someone who just finished a brutal monologue. private isProcessing = false
}
public spawn(behavior: ActorBehavior, name: string): ActorRef return this.root.spawnChild(behavior, name);