Class WorkersKvMonitor

Monitoring Kv database operations

Hierarchy

  • WorkersKvMonitor

Constructors

Properties

Methods

Constructors

Properties

dbActivityProxy: TypedEventEmitter<event>

Methods

  • Receiving and proxying database activities that is from the database operation functions

    Function

    dbListener

    Parameters

    • processSuccess: null | boolean
    • command: BridgeCommand
    • cfFetch: null | FetchResponse
    • errDetail: null | { [key: string]: any }

    Returns void

  • Emitting an event when a database activity is received from the proxy

    Function

    dbMonitorStream

    Remarks

    This function can only be executed before the dbListener function is called. Otherwise, no message will be emitted.

    Returns

    The event emitter that will generate messages in regard to database activities

    Returns TypedEventEmitter<MonitorEvent>