pub unsafe extern "C" fn GetPromiseUserInputEventHandlingState(
    promise: Handle<*mut JSObject>
) -> PromiseUserInputEventHandlingState
Expand description

Returns the given Promise’s activation behavior state flag per above as a JS::PromiseUserInputEventHandlingState value. All promises are created with the DontCare state by default.

Returns JS::PromiseUserInputEventHandlingState::DontCare if the given object is a wrapper that can’t safely be unwrapped.