internal static QiPromise Create(bool asyncCallback) => new QiPromise(qi_promise_create(Convert.ToInt32(asyncCallback)));