isAutoCancel

open fun isAutoCancel(): Boolean

Set whether the handle should cancel the transfer on close.

If set to true, the transfer is cancelled when the handle is closed or garbage-collected.