Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Force the DNS module to invoke callbacks asynchronously #1164

Closed
@dhruvbird

Description

@dhruvbird

The current DNS module may call the callback function directly, which means that any code that assumes that the callback will be invoked only after the complete function executes is broken. Please could it be changed to invoke all callbacks (not just in the DNS module) by passing them to nextTick() if the calling function is the public API and it wants to invoke the user supplied callback.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions