Class

Ring

Ring()

ring

Constructor

# new Ring()

View Source agent-matching/ring.js, line 9

Methods

# async accept() → {Promise.<void>}

accept ring

View Source agent-matching/ring.js, line 88

Promise.<void>

# async reject() → {Promise.<void>}

reject ring

View Source agent-matching/ring.js, line 96

Promise.<void>

Events

# accepted

Fires if the ring was accepted by the agent

View Source agent-matching/ring.js, line 45

# cancelled

Fires if the conversation no longer requires the ring, usually this is because it was closed.

View Source agent-matching/ring.js, line 63

# expired

Fires if the ring has been in the waiting state too long without being accepted, rejected, or cancelled

View Source agent-matching/ring.js, line 72

# rejected

Fires if the ring was rejected by the agent

View Source agent-matching/ring.js, line 54