File

projects/wvr-elements/src/lib/core/message-manifest/message-manifest-entry.ts

Index

Properties

Properties

description
description: string
Type : string
Optional
destination
destination: string
Type : string
error
error: any
Type : any
Optional
id
id: string
Type : string
Optional
map
map: map
Type : map
Optional
mappingStrategy
mappingStrategy: MessageMappingStrategy
Type : MessageMappingStrategy
Optional
message
message: any
Type : any
Optional
name
name: string
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;
}

results matching ""

    No results matching ""