Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration Result<R>

A Result represents a promise for the result of an async operation. The result code when calling Conversation.respond indicating how the response has been handled by the conversation.

It implements the full ES6 Promise specification and is in all respects equivalent to a Promise.

Adapted from https://www.npmjs.com/package/@types/es6-promise

Type parameters

  • R

Index

Enumeration members

ALREADY_FINISHED

ALREADY_FINISHED: = 0

HANDLED_AND_ACTIVE

HANDLED_AND_ACTIVE: = 1

HANDLED_AND_FINISHED

HANDLED_AND_FINISHED: = 2