Skip to content

Releases: masx200/async-task-current-limiter

2.1.0

14 Jul 02:33
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.0.3...2.1.0

2.0.3

13 Jul 17:30
8b0e82f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.0.9...2.0.3

优化垃圾回收

08 Aug 01:19
Compare
Choose a tag to compare
1.0.9

优化

1.0.8

31 Mar 15:36
Compare
Choose a tag to compare
升级依赖包,重新打包

1.0.6: 优化类型声明,

14 Feb 10:18
Compare
Choose a tag to compare
interface AsyncCurrentLimiter {
    [Symbol.toStringTag]: string;
    asyncwrap: <T extends (...args: any[]) => Promise<any>>(fun: T) => T;
    status: () => 空闲状态;
    limiter: {
        readonly max: number;
        readonly current: number;
    };
    queue: {
        readonly max: number;
        readonly current: number;
    };
    target: {
        [Symbol.toPrimitive]: () => string;
        [Symbol.toStringTag]: string;
        [Symbol.iterator]: () => IterableIterator<[import("@masx200/event-emitter-target").EVENTNAME, import("@masx200/event-emitter-target").EVENTLISTENER[]]>;
        entries: () => IterableIterator<[import("@masx200/event-emitter-target").EVENTNAME, import("@masx200/event-emitter-target").EVENTLISTENER[]]>;
        listenerCount: (name: import("@masx200/event-emitter-target").EVENTNAME) => number;
        clear: (name: import("@masx200/event-emitter-target").EVENTNAME) => void;
        removeAllListeners: (name: import("@masx200/event-emitter-target").EVENTNAME) => void;
        on: (name: import("@masx200/event-emitter-target").EVENTNAME, callback: import("@masx200/event-emitter-target").EVENTLISTENER) => void;
        addListener: (name: import("@masx200/event-emitter-target").EVENTNAME, callback: import("@masx200/event-emitter-target").EVENTLISTENER) => void;
        off: (name: import("@masx200/event-emitter-target").EVENTNAME, callback: import("@masx200/event-emitter-target").EVENTLISTENER) => void;
        removeListener: (name: import("@masx200/event-emitter-target").EVENTNAME, callback: import("@masx200/event-emitter-target").EVENTLISTENER) => void;
        once: (name: import("@masx200/event-emitter-target").EVENTNAME, callback: import("@masx200/event-emitter-target").EVENTLISTENER) => void;
        emit: (name: import("@masx200/event-emitter-target").EVENTNAME, event?: any) => void;
        dispatch: (name: import("@masx200/event-emitter-target").EVENTNAME, event?: any) => void;
        eventNames: () => import("@masx200/event-emitter-target").EVENTNAME[];
        listeners: (name: import("@masx200/event-emitter-target").EVENTNAME) => import("@masx200/event-emitter-target").EVENTLISTENER[];
    };
}

1.0.4

14 Feb 09:58
Compare
Choose a tag to compare
添加测试,拆分模块,重新编译,把名为symbol的事件改成promisedefer

1.0.3

12 Feb 12:58
Compare
Choose a tag to compare
设置依赖关系

1.0.1

11 Feb 12:49
19da3c4
Compare
Choose a tag to compare
Update package.json

1.0.0

11 Feb 10:12
c09cb27
Compare
Choose a tag to compare
Create .gitattributes