abort.mli (623B)
1 2 (* Clear the list of aborted items. *) 3 val reset : unit -> unit 4 5 (* Abort transfer for either one particular item or all items. *) 6 (* These functions should only be called on the client. *) 7 val file : Uutil.File.t -> unit 8 val all : unit -> unit 9 10 (* Check whether stop of all transfers has been requested. *) 11 val isAll : unit -> bool 12 val checkAll : unit -> unit (* Raises a transient exception *) 13 14 (* Check whether an item is being aborted. A transient exception is 15 raised if this is the case. *) 16 val check : Uutil.File.t -> unit 17 18 (* Test whether the exception is an abort exception. *) 19 val testException : exn -> bool