import { AbilityType, Actor } from './actor'; /** * Type definition for task interactions. */ export interface TaskInteraction
{
invoke(param: P): void | Promise = {
new (actor: Actor): TaskInteraction ;
};
export type Task = TaskType | TaskType [];
export type TaskProcedure = (ability: AbilityType, param: P) => void | Promise