cancel

func cancel<R, A>(consume k: Resumption<R, A>) -> ()

Discard a suspended extent, unwinding every captured frame through its cleanup entries — cancellation cannot leak.

View Source
pub func cancel<R, A>(consume k: Resumption<R, A>) -> () {
	#_ir(k) { cancel $0 }
}