UNPKG

@glue42/bbg-market-data

Version:

A high-level API that wraps existing Glue42 Bloomberg Bridge Market Data interop methods. The API is based on the jBloomberg open source wrapper.

19 lines (18 loc) 512 B
var PromiseWrapper = (function () { function PromiseWrapper() { var _this = this; this._promise = new Promise(function (res, rej) { _this.resolve = res; _this.reject = rej; }); } Object.defineProperty(PromiseWrapper.prototype, "promise", { get: function () { return this._promise; }, enumerable: false, configurable: true }); return PromiseWrapper; }()); export { PromiseWrapper };