interface Sentinel<
    TIn extends Payload = Payload,
    TOut extends Payload = Payload,
> {
    report: (payloads?: TIn[]) => Promisable<TOut[]>;
    reportQuery: (
        payloads?: TIn[],
        account?: AccountInstance,
    ) => Promisable<ModuleQueryResult<TOut>>;
}

Type Parameters

Hierarchy (View Summary)

Properties

Properties

report: (payloads?: TIn[]) => Promisable<TOut[]>
reportQuery: (
    payloads?: TIn[],
    account?: AccountInstance,
) => Promisable<ModuleQueryResult<TOut>>