@salesforce/core
Version:
Core libraries to interact with SFDX projects, orgs, and APIs.
16 lines (15 loc) • 481 B
TypeScript
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;
}