startTaskSubmitHandlerFunctionType type

Function type that is used to receive the result when a task module is submitted by calling tasks.submitTask(result?: string | object, appIds?: string | string[]): void

type startTaskSubmitHandlerFunctionType = (
  err: string,
  result: string | object
) => void