Interface InstanceOptions
interface InstanceOptions {
reporters?: readonly (Reporter | ((journeyId: JourneyId) => Reporter))[];
reportersGlobalMetadata?: ValuesByKey;
}
reporters?: readonly (Reporter | ((journeyId: JourneyId) => Reporter))[];
reportersGlobalMetadata?: ValuesByKey;
}
Properties
Optional Readonlyreporters
The instance's own reporters, added after those its workflow lists: each a reporter, or a function that makes one from the instance's journey ID.
Optional Readonlyreporters Global Metadata
The initial global metadata, passed to every reporter after the journey ID and before the journey starts, checked when the instance is run.
What an instance holds besides its initial data.