Aborts any I/O on an async-io-state, closes it and optionally calls a callback.
async-io-state-abort-and-close async-io-state &key close-callback keep-alive-p
A generalized boolean.
A function designator for a function of one argument, or
async-io-state-abort-and-close aborts any I/O on async-io-state, closes it and optionally calls the close-callback.
async-io-state-abort-and-close first aborts any I/O operation that is in progress, and then closes the state (using close-async-io-state).
The value of keep-alive-p is passed to close-async-io-state.
If close-callback is non-nil, it should be a function taking one argument. It is called with the state as its argument after the state is closed.
async-io-state-abort-and-close is asynchronous. The state is known to be closed only when the close-callback is called.
See close-async-io-state about accessing the state after it is closed.
LispWorks User Guide and Reference Manual - 20 Sep 2017