Skip to content

Instance Method

cancel()

Cancels the associated hook callback.
func cancel()

Discussion

After calling this method, the callback will no longer be invoked. It is safe to call this method multiple times.