Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "internal/env/applicationEvent"

Index

Variables

Const Url

Url: "https://webhook.atomist.com/atomist/application/teams" = "https://webhook.atomist.com/atomist/application/teams"

Functions

registerApplicationEvents

  • registerApplicationEvents(workspaceId: string): Promise<any>
  • Register the automation client to send application events to Atomist. This is useful to show starting and stopping automation clients as part of their general lifecycle in eg Slack.

    Parameters

    • workspaceId: string

    Returns Promise<any>

sendEvent

  • sendEvent(state: "stopping" | "started", teamId: string, event: ApplicationEvent): Promise<any>

started

stopping

Generated using TypeDoc