Function makeCloudEventSubject

  • Creates a subject string for a given process, name, and version. The subject is encoded in base64 format.

    Parameters

    • processId: string

      The ID of the process.

    • name: string

      The name associated with the process.

    • version: `${number}.${number}.${number}`

      The version of the process.

    Returns string

    A base64-encoded string representing the subject.

    Example

    const subject = makeSubject("12345", "ExampleProcess", "1.0.0");
    // Result: <A base64 string>

Generated using TypeDoc