Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/okikio/native. An initiative which aims to make it easy to create complex, light-weight, and perfor okikio.github.io/native
Something went wrong. Try again.
123(function(c,d){typeof exports==="object"&&typeof module!=="undefined"?d(exports):typeof define==="function"&&define.amd?define(["exports"],d):(c=c||self,d(c.Manager={}))})(this,function(c){"use strict";class d{constructor(a){this.map=new Map(a)}getMap(){return this.map}get(a){return this.map.get(a)}keys(){return Array.from(this.map.keys())}values(){return Array.from(this.map.values())}set(a,b){return this.map.set(a,b),this}add(a){let b=this.size,e=b;return this.set(e,a),this}get size(){return this.map.size}last(a=1){let b=this.keys()[this.size-a];return this.get(b)}prev(){return this.last(2)}delete(a){return this.map.delete(a),this}clear(){return this.map.clear(),this}has(a){return this.map.has(a)}entries(){return this.map.entries()}forEach(a=(...e)=>{},b){return this.map.forEach(a,b),this}[Symbol.iterator](){return this.entries()}}const g=(a,b,...e)=>{a.forEach(f=>{f[b](...e)})},h=async(a,b,...e)=>{for(let[,f]of a)await f[b](...e)};c.Manager=d,c.asyncMethodCall=h,c.default=d,c.methodCall=g,Object.defineProperty(c,"__esModule",{value:!0})});//# sourceMappingURL=api.umd.js.map