When provided the corresponding AbortController
can be used to cancel an asynchronous action.
interface
dgram.SocketOptions
interface SocketOptions
- lookup?: (hostname: string, options: LookupOneOptions, callback: (err: null | ErrnoException, address: string, family: number) => void) => void
- signal?: AbortSignal