Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
class WorkflowDefinition
implements ISlackWorkflow
import { WorkflowDefinition } from "https://deno.land/x/deno_slack_sdk@1.0.1/workflows/mod.ts";

Type Parameters

Inputs extends ParameterSetDefinition
Outputs extends ParameterSetDefinition
RequiredInputs extends PossibleParameterKeys<Inputs>
RequiredOutputs extends PossibleParameterKeys<Outputs>
CallbackID extends string

Methods

addStep<StepInputs extends ParameterSetDefinition, StepOutputs extends ParameterSetDefinition, RequiredStepInputs extends PossibleParameterKeys<StepInputs>, RequiredStepOutputs extends PossibleParameterKeys<StepOutputs>>(slackFunction: ISlackFunctionDefinition<StepInputs, StepOutputs, RequiredStepInputs, RequiredStepOutputs>, inputs: WorkflowStepInputs<StepInputs, RequiredStepInputs>): TypedWorkflowStepDefinition<StepInputs, StepOutputs, RequiredStepInputs, RequiredStepOutputs>