Interface SentinelModuleEventData<T>
interface SentinelModuleEventData<T extends Module = Module> { jobEnd: { mod: T } & { finalResult?: Record< Lowercase<string>, DeepRestrictToStringKeys<{ schema: string }>[], >; inPayloads?: DeepRestrictToStringKeys<{ schema: string }>[]; }; jobStart: { mod: T } & { inPayloads?: DeepRestrictToStringKeys<{ schema: string }>[]; }; moduleBusy: { mod: T } & { busy: boolean }; moduleError: { mod: T } & { error: Error }; moduleQueried: { mod: T } & { payloads?: DeepRestrictToStringKeys<{ schema: string }>[]; query: UnsignedQueryBoundWitness; result: ModuleQueryResult< DeepRestrictToStringKeys<{ schema: string }>, DeepRestrictToStringKeys< { details?: | null | string | number | boolean | { [key: string]: | null | string | number | boolean | (
{ [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null)[] | null; }
)
| (
string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null
)
[]; } | (
| null | string | number | boolean | { [key: string]: string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null
; } | (
(string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null)[]
)
)
[]; message?: string; name?: string; query?: Lowercase<string>; schema: "network.xyo.error.module"; }, >, BoundWitness, >; }; reportEnd: { mod: T } & { boundwitness?: BoundWitness; inPayloads?: DeepRestrictToStringKeys<{ schema: string }>[]; outPayloads?: DeepRestrictToStringKeys<{ schema: string }>[]; }; reportStart: { mod: T } & { inPayloads?: DeepRestrictToStringKeys<{ schema: string }>[]; }; taskEnd: { mod: T } & { address: Lowercase<string>; inPayloads?: DeepRestrictToStringKeys<{ schema: string }>[]; name?: string; outPayloads?: DeepRestrictToStringKeys<{ schema: string }>[]; }; taskStart: { mod: T } & { address: Lowercase<string>; inPayloads?: DeepRestrictToStringKeys<{ schema: string }>[]; name?: string; }; [key: string | number | symbol]: EventArgs;} Properties
moduleBusy
moduleBusy: { mod: T } & { busy: boolean } moduleError
moduleError: { mod: T } & { error: Error } moduleQueried
moduleQueried: { mod: T } & { payloads?: DeepRestrictToStringKeys<{ schema: string }>[]; query: UnsignedQueryBoundWitness; result: ModuleQueryResult< DeepRestrictToStringKeys<{ schema: string }>, DeepRestrictToStringKeys< { details?: | null | string | number | boolean | { [key: string]: | null | string | number | boolean | (
{ [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null)[] | null; }
)
| (
string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null
)
[]; } | (
| null | string | number | boolean | { [key: string]: string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null
; } | (
(string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null)[]
)
)
[]; message?: string; name?: string; query?: Lowercase<string>; schema: "network.xyo.error.module"; }, >, BoundWitness, >;} taskStart
taskStart: { mod: T } & { address: Lowercase<string>; inPayloads?: DeepRestrictToStringKeys<{ schema: string }>[]; name?: string;}