Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ZBGrpc

Hierarchy

  • GrpcClient
    • ZBGrpc

Index

Properties

activateJobsStream

activateJobsStream: any

channelClosed

channelClosed: boolean = false

client

client: Client

completeJobSync

completeJobSync: any

connected

connected: boolean = false

host

host: string

Optional longPoll

longPoll: MaybeTimeDuration

Methods

addListener

  • addListener(event: string | symbol, listener: (...args: any[]) => void): ZBGrpc
  • Parameters

    • event: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns ZBGrpc

broadcastSignalSync

cancelProcessInstanceSync

  • cancelProcessInstanceSync(processInstanceKey: { processInstanceKey: string | number }): Promise<void>
  • Parameters

    • processInstanceKey: { processInstanceKey: string | number }
      • processInstanceKey: string | number

    Returns Promise<void>

close

  • close(timeout?: number): Promise<null>
  • Parameters

    • timeout: number = 5000

    Returns Promise<null>

createProcessInstanceSync

createProcessInstanceWithResultSync

deployProcessSync

deployResourceSync

emit

  • emit(event: string | symbol, ...args: any[]): boolean
  • Parameters

    • event: string | symbol
    • Rest ...args: any[]

    Returns boolean

evaluateDecisionSync

eventNames

  • eventNames(): (string | symbol)[]
  • Returns (string | symbol)[]

failJobSync

getMaxListeners

  • getMaxListeners(): number
  • Returns number

listMethods

  • listMethods(): string[]

listenerCount

  • listenerCount(event: string | symbol): number
  • Parameters

    • event: string | symbol

    Returns number

listeners

  • listeners(event: string | symbol): Function[]
  • Parameters

    • event: string | symbol

    Returns Function[]

modifyProcessInstanceSync

off

  • off(event: string | symbol, listener: (...args: any[]) => void): ZBGrpc
  • Parameters

    • event: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns ZBGrpc

on

  • on(event: string | symbol, listener: (...args: any[]) => void): ZBGrpc
  • Parameters

    • event: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns ZBGrpc

once

  • once(event: string | symbol, listener: (...args: any[]) => void): ZBGrpc
  • Parameters

    • event: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns ZBGrpc

prependListener

  • prependListener(event: string | symbol, listener: (...args: any[]) => void): ZBGrpc
  • Parameters

    • event: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns ZBGrpc

prependOnceListener

  • prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): ZBGrpc
  • Parameters

    • event: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns ZBGrpc

publishMessageSync

rawListeners

  • rawListeners(event: string | symbol): Function[]
  • Parameters

    • event: string | symbol

    Returns Function[]

removeAllListeners

  • removeAllListeners(event?: string | symbol): ZBGrpc
  • Parameters

    • Optional event: string | symbol

    Returns ZBGrpc

removeListener

  • removeListener(event: string | symbol, listener: (...args: any[]) => void): ZBGrpc
  • Parameters

    • event: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns ZBGrpc

resolveIncidentSync

runService

  • runService(fnName: any, data: any, fnAnswer: any): void
  • Parameters

    • fnName: any
    • data: any
    • fnAnswer: any

    Returns void

setMaxListeners

  • setMaxListeners(n: number): ZBGrpc
  • Parameters

    • n: number

    Returns ZBGrpc

setVariablesSync

throwErrorSync

topologySync

updateJobRetriesSync

Generated using TypeDoc