import { AnyJson } from '@salesforce/ts-types'; /** * Return type for the Streaming and Polling client. */ export interface StatusResult { /** * If the result of the streaming or polling client is expected to return a result */ payload?: AnyJson; /** * Indicates to the streaming or polling client that the subscriber has what its needs. If `true` the client will end * the messaging exchanges with the endpoint. */ completed: boolean; }