@prismshadow/penguin-server · packages/server/src/runtime/organization/service.ts:3218

OrgScheduler

interface

The organization scheduler as the boot sequence drives it (the pass itself is internal).

API

@Interface()
export abstract class OrgScheduler {
  abstract start(): Promise<void>;
  abstract stop(): void;
}

Contract Topology

Static AST wiring across @Module / @Provide / @Use
@Moduleexported by
@Provideprovided by
@Useconsumed by (1)

Members (2)

start

start(): Promise<void>

The periodic pass, and one pass now — the returned promise is that first pass. The tick is armed first, so a stop that comes while the pass runs leaves nothing armed.

@returnsPromise<void>

stop

stop(): void
@returnsvoid