UNPKG

pegasys-orchestrate

Version:

The PegaSys Orchestrate library provides convenient access to the Codefi Orchestrate API from applications written in server-side JavaScript

19 lines (18 loc) 447 B
import { IResponse } from '../types'; import { Consumer } from './Consumer'; /** * Class representing a response message from Orchestrate */ export declare class ResponseMessage { private readonly consumer; private readonly message; constructor(consumer: Consumer, message: IResponse); /** * Commits the message offset */ commit(): Promise<void>; /** * Gets the message */ content(): IResponse; }