reset

fun reset()(source)

The reset() method of the ImageDecoder interface aborts all pending decode() operations; rejecting all pending promises.

MDN Reference