UNPKG

481 BTypeScriptView Raw
1import { AnyJson } from '@salesforce/ts-types';
2/**
3 * Return type for the Streaming and Polling client.
4 */
5export interface StatusResult {
6 /**
7 * If the result of the streaming or polling client is expected to return a result
8 */
9 payload?: AnyJson;
10 /**
11 * Indicates to the streaming or polling client that the subscriber has what its needs. If `true` the client will end
12 * the messaging exchanges with the endpoint.
13 */
14 completed: boolean;
15}