Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ServerBranch

Server branch matches data in a message received on the server.

Hierarchy

Implements

Indexable

[key: string]: any

Server branch matches data in a message received on the server.

Index

Constructors

constructor

Properties

callback

callback: ICallback

criteria

criteria: IServerBranchCriteria

force

force: boolean

id

id: string

match

match: any

Optional matched

matched: undefined | false | true

processKey

processKey: ProcessKeys = "serve"

type

type: string

Methods

execute

matcher

  • Match on any exact or regex values at path of key in criteria. Will also match on empty data if criteria is an empty object.

    Parameters

    Returns Promise<object | undefined>

Generated using TypeDoc