projects/wvr-elements/src/lib/core/message-manifest/message-manifest-entry.ts
Properties |
|
description |
description:
|
Type : string
|
Optional |
destination |
destination:
|
Type : string
|
error |
error:
|
Type : any
|
Optional |
id |
id:
|
Type : string
|
Optional |
map |
map:
|
Type : map
|
Optional |
mappingStrategy |
mappingStrategy:
|
Type : MessageMappingStrategy
|
Optional |
message |
message:
|
Type : any
|
Optional |
name |
name:
|
Type : string
|
import { MessageClientOptions } from './message-client-options';
import { MessageClientProtocol } from './message-client-protocol';
import { MessageMappingStrategy } from './message-mapping-strategy';
export type map = (response) => any;
export interface MessageManifestEntry {
// A subscription identifier.
id?: string;
name: string; // unique.
description?: string;
// that path to subscribe to.
destination: string;
// mapping strategy to use for deserialization.
mappingStrategy?: MessageMappingStrategy;
// the last received message.
message?: any;
// error from last failed message.
error?: any;
map?: map;
}