Experimental Features

We're currently testing the usage of live data in the GET request of an Action. This would involve the addition of a few things to the Action spec.

// Dialect's extensions to the Actions API
export interface DialectExperimentalFeatures {
  dialectExperimental?: {
    liveData?: {
      enabled: boolean;
      delayMs?: number; // default 1000 (1s)
    };
  };
}

export type ExtendedActionGetResponse = ActionGetResponse &
  DialectExperimentalFeatures;

Live Data is possible by polling the GET request at an interval of delayMs until a POST request is made if liveData is enabled

Last updated