interrupt


Description:

public void interrupt ()

Interrupt waiting for a this.

This will wake up any waiters with INTERRUPTED. Called when the consumer does not want the value produced anymore.

Parameters:

this

a Promise