@yeying-community/yeying-client-ts
    Preparing search index...

    Interface ProcessMessage<T>

    A message representing the status of a process handled by a worker.

    interface ProcessMessage<T = any> {
        msgId: string;
        payload?: T;
        processType: ProcessType;
        workerId: string;
    }

    Type Parameters

    • T = any

      The type of payload associated with the process status.

    Index

    Properties

    msgId: string

    Unique identifier for the message.

    payload?: T

    Optional payload containing additional data related to the process status.

    processType: ProcessType

    The type of process status being reported.

    workerId: string

    Unique identifier for the worker handling the process.