import { Revelation } from ".";
Applies changes
Constructors
new
Revelation(context: Context)
Methods
private
applyUpdates(random: Random, actorReference: ActorReference, updates: readonly Update[]): Promise<readonly ResolvedUpdate[]>
Apply a list of Updates
private
determinePath(random: Random, action: Action, actorReference: ActorReference): Promise<Outcome>
Determine which path to take for an Action
resolve(random: Random, actionReference: ActionReference, actorReference: ActorReference): Promise<{ description: string; updates: ReadonlyArray<ResolvedUpdate>; }>