Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/actor-core/src/actor/instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,11 @@ export class ActorInstance<S, CP, CS, V> {
}
}

// Set alarm for next scheduled event if any exist after finishing initiation sequence
if (this.#persist.e.length > 0) {
await this.#actorDriver.setAlarm(this, this.#persist.e[0].t);
}

logger().info("actor ready");
this.#ready = true;
}
Expand Down
Loading