Discover Packages
github.com/zigai/aht
internal
cancelclose
package
Version:
v1.3.1
Opens a new window with list of versions in this module.
Published: Sep 8, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
OnCancel registers context-triggered closure of resource and returns a
cleanup function that closes the resource and waits for any active
cancellation callback to complete before returning.
Closer represents a resource whose Close method is safe for concurrent
and repeated invocations, such as net.Conn and net.Listener .
Source Files
¶
Click to show internal directories.
Click to hide internal directories.