Function hashWorkerToken

  • The SHA-256 of a worker token, in hex: what the run's dispatch record keeps, never the token itself.

    Parameters

    • token: string

    Returns string