How to use the @esfx/collections-linkedlist.LinkedList function in @esfx/collections-linkedlist

To help you get started, we’ve selected a few @esfx/collections-linkedlist examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github esfx / esfx / packages / async-canceltoken / src / index.ts View on Github external
subscribe(onSignaled) {
                    if (state === "closed") {
                        return Cancelable.none.subscribe(onSignaled);
                    }
                    if (state === "signaled") {
                        return Cancelable.canceled.subscribe(onSignaled);
                    }
                    const list = subscriptions || (subscriptions = new LinkedList());
                    return createCancelSubscription(list.push(onSignaled));
                }
            }));

@esfx/collections-linkedlist

LinkedList collection API.

Apache-2.0
Latest version published 2 years ago

Package Health Score

45 / 100
Full package analysis

Popular @esfx/collections-linkedlist functions

Similar packages