Skip to content

[Feature Request]: want to get parent promise from PromiseHookInit through async_hooks #13302

@JiaLiPassion

Description

@JiaLiPassion
  • Version:
    v8.0.0-nightly20170527f84666f923

  • Platform:

  • Subsystem:

Chrome V8 PromiseHook init hook's signature is PromiseHookInit(promise,parentPromise),
current async_hooks seems not support to get the parentPromise, is that possible to get the
the parentPromise from async_hooks init callback?

Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    async_hooksIssues and PRs related to the async hooks subsystem.promisesIssues and PRs related to ECMAScript promises.questionIssues that look for answers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions