Promise<Object> (@NotNull PlaybackContext context) { ActionCallback callback = createCallback(); try { execute(callback, context); } catch (Throwable throwable) { callback.reject(throwable.getMessage()); } return Promises.toPromise(callback); }