tools/core/types/invocation.types.ts

tools/core/types/invocation.types.ts is a file in Coordination Surface. 10 lines of code and 3 definitions.

export interface Outcome {
    readonly message: string;
    readonly code: number;
}

export interface Invocation {
    readonly caller: string;
    readonly target: string;
    readonly absolute: string;
}

export type Operation = (invocation: Invocation) => Outcome | Promise<Outcome> | null;