- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.2k
JsGetPromiseState
        Kyle Farnung edited this page May 10, 2018 
        ·
        1 revision
      
    Gets the state of a given Promise object.
CHAKRA_API
    JsGetPromiseState(
        _In_ JsValueRef *promise,
        _Out_ JsPromiseState *state);
- 
promise: The Promiseobject.
- 
state: The current state of the Promiseobject.
The code JsNoError if the operation succeeded, a failure code otherwise.
This API is experimental and may have breaking change later.
Requires an active script context.
- Architecture Overview
- Building ChakraCore
- ChakraCore Code Structure
- Contributor Guidance
- Engineering Notes
- Embedding ChakraCore
- Testing ChakraCore
- Getting ChakraCore binaries
- Label Glossary
- Resources
- Roadmap / Release Notes
Want to contribute to this Wiki? Fork it and send a pull request!