pub(crate) fn new_promise_capability( it: &mut Interp, c: &Value, ) -> Result<(Value, Value, Value), Value>