pub unsafe extern "C" fn SetPromiseUserInputEventHandlingState(
    promise: HandleObject,
    state: PromiseUserInputEventHandlingState,
) -> bool
Expand description

Sets the given Promise’s activation behavior state flag per above as a JS::PromiseUserInputEventHandlingState value.

Returns false if the given object is a wrapper that can’t safely be unwrapped.