cancelAllSuspensions

protected fun cancelAllSuspensions(
    attachment: Selectable,
    t: Throwable
): Unit

Cancel all selectable’s suspensions with the specified exception

protected fun cancelAllSuspensions(
    selector: Selector,
    t: Throwable?
): Unit

Cancel all suspensions with the specified exception, reset all interests