From 46df7d2f0be1b566628f2697049f7d5f4e8ce58b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Mon, 4 Nov 2024 03:25:25 +0000 Subject: [PATCH] deploy: a0eda79708c736392ec7726c2bdc6bed7952a9d6 --- classes/Cache.html | 4 ++-- classes/Defer.html | 4 ++-- classes/FanOut.html | 4 ++-- classes/Locks.html | 6 +++--- classes/LruCache.html | 4 ++-- classes/LruMap.html | 8 ++++---- classes/LruTtlMap.html | 14 +++++++------- classes/TimedQueue.html | 8 ++++---- classes/TimedState.html | 10 +++++----- coverage/clover.xml | 14 +++++++------- coverage/coverage-final.json | 4 ++-- coverage/lcov-report/Cache.ts.html | 2 +- coverage/lcov-report/Defer.ts.html | 2 +- coverage/lcov-report/Locks.ts.html | 2 +- coverage/lcov-report/LruCache.ts.html | 2 +- coverage/lcov-report/LruMap.ts.html | 2 +- coverage/lcov-report/LruTtlMap.ts.html | 2 +- coverage/lcov-report/TimedQueue.ts.html | 2 +- coverage/lcov-report/TimedState.ts.html | 2 +- coverage/lcov-report/base64.ts.html | 2 +- coverage/lcov-report/codeMutex.ts.html | 10 +++++----- coverage/lcov-report/concurrency.ts.html | 2 +- .../lcov-report/concurrencyDecorator.ts.html | 2 +- coverage/lcov-report/createRace.ts.html | 2 +- coverage/lcov-report/fanout.ts.html | 2 +- coverage/lcov-report/go.ts.html | 2 +- coverage/lcov-report/hasKeys.ts.html | 2 +- coverage/lcov-report/hash.ts.html | 2 +- coverage/lcov-report/index.html | 2 +- coverage/lcov-report/mutex.ts.html | 2 +- coverage/lcov-report/normalizeEmail.ts.html | 2 +- coverage/lcov-report/once.ts.html | 2 +- coverage/lcov-report/tick.ts.html | 2 +- coverage/lcov-report/timeout.ts.html | 2 +- coverage/lcov-report/xorshift.ts.html | 2 +- coverage/lcov.info | 18 +++++++++--------- functions/codeMutex.html | 2 +- functions/concurrency.html | 2 +- functions/concurrencyDecorator.html | 2 +- functions/dataUri.html | 2 +- functions/debug.html | 2 +- functions/decode64.html | 2 +- functions/encode64.html | 2 +- functions/go.html | 2 +- functions/hasKeys.html | 2 +- functions/hash.html | 2 +- functions/loadCss.html | 2 +- functions/makeXorShift32.html | 2 +- functions/mutex.html | 2 +- functions/normalizeEmail.html | 2 +- functions/of.html | 2 +- functions/once.html | 2 +- functions/promiseMap.html | 2 +- functions/randomStr.html | 2 +- functions/tick.html | 2 +- functions/timeout.html | 2 +- functions/until.html | 2 +- functions/xorShift32.html | 2 +- interfaces/CacheEntry.html | 4 ++-- types/Code.html | 2 +- types/FanOutListener.html | 2 +- types/FanOutUnsubscribe.html | 2 +- 62 files changed, 104 insertions(+), 104 deletions(-) diff --git a/classes/Cache.html b/classes/Cache.html index 539bd11..d0c96d4 100644 --- a/classes/Cache.html +++ b/classes/Cache.html @@ -1,4 +1,4 @@ -Cache | thingies

Class Cache<T>

Type Parameters

  • T

Constructors

constructor +Cache | thingies

Class Cache<T>

Type Parameters

  • T

Constructors

Properties

Constructors

Properties

entries: number = 0
evictionTime: number = 20000
gcPeriod: number = 30000
map: Map<string, CacheEntry<T>> = ...
maxEntries: number = 100000
method: ((key) => Promise<T>) = ...

Type declaration

    • (key): Promise<T>
    • Parameters

      • key: string

      Returns Promise<T>

timer: any
ttl: number = 10000

Methods

\ No newline at end of file +

Constructors

Properties

entries: number = 0
evictionTime: number = 20000
gcPeriod: number = 30000
map: Map<string, CacheEntry<T>> = ...
maxEntries: number = 100000
method: ((key) => Promise<T>) = ...

Type declaration

    • (key): Promise<T>
    • Parameters

      • key: string

      Returns Promise<T>

timer: any
ttl: number = 10000

Methods

\ No newline at end of file diff --git a/classes/Defer.html b/classes/Defer.html index 61ce1ce..bcc070e 100644 --- a/classes/Defer.html +++ b/classes/Defer.html @@ -2,8 +2,8 @@ promise at any time.

const future = new Defer();

future.promise.then(value => console.log(value));

future.resolve(123);
-

Type Parameters

Constructors

Type Parameters

  • T

Constructors

Properties

Constructors

Properties

promise: Promise<T> = ...
reject: ((error) => void)

Type declaration

    • (error): void
    • Parameters

      • error: any

      Returns void

resolve: ((data) => void)

Type declaration

    • (data): void
    • Parameters

      • data: T

      Returns void

\ No newline at end of file +

Constructors

Properties

promise: Promise<T> = ...
reject: ((error) => void)

Type declaration

    • (error): void
    • Parameters

      • error: any

      Returns void

resolve: ((data) => void)

Type declaration

    • (data): void
    • Parameters

      • data: T

      Returns void

\ No newline at end of file diff --git a/classes/FanOut.html b/classes/FanOut.html index 3e41e77..5d318e6 100644 --- a/classes/FanOut.html +++ b/classes/FanOut.html @@ -1,5 +1,5 @@ -FanOut | thingies

Class FanOut<D>

Type Parameters

  • D

Constructors

constructor +FanOut | thingies

Class FanOut<D>

Type Parameters

  • D

Constructors

Properties

Methods

Constructors

Properties

listeners: Set<FanOutListener<D>> = ...

Methods

\ No newline at end of file +

Constructors

Properties

listeners: Set<FanOutListener<D>> = ...

Methods

\ No newline at end of file diff --git a/classes/Locks.html b/classes/Locks.html index 4f23cca..395ccc2 100644 --- a/classes/Locks.html +++ b/classes/Locks.html @@ -6,7 +6,7 @@ within the 5 seconds. The lock will acquired for 2 seconds (default 1000ms).

Locks.get().lock('my-lock', 2000, 5000)(async () => {
console.log('Lock acquired');
});
-

Constructors

Constructors

Properties

now pfx store @@ -15,5 +15,5 @@ lock get

Constructors

  • Parameters

    • store: Record<string, string> = ...
    • now: (() => number) = Date.now
        • (): number
        • Returns the number of milliseconds elapsed since midnight, January 1, 1970 Universal Coordinated Time (UTC).

          -

          Returns number

    • pfx: string = 'lock-'

    Returns Locks

Properties

now: (() => number) = Date.now

Type declaration

    • (): number
    • Returns the number of milliseconds elapsed since midnight, January 1, 1970 Universal Coordinated Time (UTC).

      -

      Returns number

pfx: string = 'lock-'
store: Record<string, string> = ...

Methods

  • Parameters

    • id: string
    • Optional ms: number
    • timeoutMs: number = ...
    • checkMs: number = 10

    Returns (<T>(fn) => Promise<T>)

      • <T>(fn): Promise<T>
      • Type Parameters

        • T

        Parameters

        • fn: (() => Promise<T>)
            • (): Promise<T>
            • Returns Promise<T>

        Returns Promise<T>

\ No newline at end of file +

Returns number

  • pfx: string = 'lock-'
  • Returns Locks

    Properties

    now: (() => number) = Date.now

    Type declaration

      • (): number
      • Returns the number of milliseconds elapsed since midnight, January 1, 1970 Universal Coordinated Time (UTC).

        +

        Returns number

    pfx: string = 'lock-'
    store: Record<string, string> = ...

    Methods

    • Parameters

      • id: string
      • Optional ms: number
      • timeoutMs: number = ...
      • checkMs: number = 10

      Returns (<T>(fn) => Promise<T>)

        • <T>(fn): Promise<T>
        • Type Parameters

          • T

          Parameters

          • fn: (() => Promise<T>)
              • (): Promise<T>
              • Returns Promise<T>

          Returns Promise<T>

    \ No newline at end of file diff --git a/classes/LruCache.html b/classes/LruCache.html index e60ed27..8d64742 100644 --- a/classes/LruCache.html +++ b/classes/LruCache.html @@ -1,4 +1,4 @@ -LruCache | thingies

    Class LruCache<V>

    Type Parameters

    • V

    Constructors

    constructor +LruCache | thingies

    Class LruCache<V>

    Type Parameters

    • V

    Constructors

    Properties

    capacity head limit @@ -14,4 +14,4 @@ pop push set -

    Constructors

    Properties

    capacity: number
    head: undefined | LruNode<V> = undefined
    limit: number = 1000
    map: Record<string, LruNode<V>> = ...
    tail: undefined | LruNode<V> = undefined

    Accessors

    Methods

    \ No newline at end of file +

    Constructors

    Properties

    capacity: number
    head: undefined | LruNode<V> = undefined
    limit: number = 1000
    map: Record<string, LruNode<V>> = ...
    tail: undefined | LruNode<V> = undefined

    Accessors

    Methods

    \ No newline at end of file diff --git a/classes/LruMap.html b/classes/LruMap.html index 4a76789..8de1808 100644 --- a/classes/LruMap.html +++ b/classes/LruMap.html @@ -1,4 +1,4 @@ -LruMap | thingies

    Class LruMap<K, V>

    Type Parameters

    • K
    • V

    Hierarchy (view full)

    Constructors

    constructor +LruMap | thingies

    Class LruMap<K, V>

    Type Parameters

    • K
    • V

    Hierarchy (view full)

    Constructors

    Properties

    [toStringTag] limit size @@ -14,14 +14,14 @@ set values groupBy -

    Constructors

    Properties

    [toStringTag]: string
    limit: number = 1073741823
    size: number

    Returns

    the number of elements in the Map.

    +

    Constructors

    Properties

    [toStringTag]: string
    limit: number = 1073741823
    size: number

    Returns

    the number of elements in the Map.

    [species]: MapConstructor

    Methods

    • Returns an iterable of entries in the map.

      Returns IterableIterator<[K, V]>

    • Returns void

    • Parameters

      • key: K

      Returns boolean

      true if an element in the Map existed and has been removed, or false if the element does not exist.

    • Returns an iterable of key, value pairs for every entry in the map.

      Returns IterableIterator<[K, V]>

    • Executes a provided function once per each key/value pair in the Map, in insertion order.

      -

      Parameters

      • callbackfn: ((value, key, map) => void)
          • (value, key, map): void
          • Parameters

            • value: V
            • key: K
            • map: Map<K, V>

            Returns void

      • Optional thisArg: any

      Returns void

    • Parameters

      • key: K

      Returns boolean

      boolean indicating whether an element with the specified key exists or not.

      +

    Parameters

    • callbackfn: ((value, key, map) => void)
        • (value, key, map): void
        • Parameters

          • value: V
          • key: K
          • map: Map<K, V>

          Returns void

    • Optional thisArg: any

    Returns void

    • Parameters

      • key: K

      Returns boolean

      boolean indicating whether an element with the specified key exists or not.

    • Returns an iterable of keys in the map

      -

      Returns IterableIterator<K>

    • Returns an iterable of values in the map

      +

      Returns IterableIterator<K>

    • Returns an iterable of values in the map

      Returns IterableIterator<V>

    Constructors

    Properties

    initState: (() => S)

    Type declaration

      • (): S
      • Returns S

    itemLimit: number = 100

    State will be flushed when it reaches this number of items.

    +
    length: number = 0
    onFlush: ((state) => void) = ...

    Method that will be called when state is flushed.

    +

    Type declaration

      • (state): void
      • Parameters

        • state: S

        Returns void

    reducer: ((state, item) => S)

    Type declaration

      • (state, item): S
      • Parameters

        • state: S
        • item: I

        Returns S

    state: S = ...
    timeLimit: number = 5_000

    State will be flushed after this many milliseconds.

    +
    timer: any = null

    Methods

    \ No newline at end of file diff --git a/coverage/clover.xml b/coverage/clover.xml index c02b21a..553f396 100644 --- a/coverage/clover.xml +++ b/coverage/clover.xml @@ -1,6 +1,6 @@ - - + + @@ -328,10 +328,10 @@ - - - - + + + + @@ -483,7 +483,7 @@ - + diff --git a/coverage/coverage-final.json b/coverage/coverage-final.json index a28b49d..7317353 100644 --- a/coverage/coverage-final.json +++ b/coverage/coverage-final.json @@ -7,7 +7,7 @@ ,"/home/runner/work/thingies/thingies/src/TimedQueue.ts": {"path":"/home/runner/work/thingies/thingies/src/TimedQueue.ts","statementMap":{"0":{"start":{"line":2,"column":0},"end":{"line":2,"column":62}},"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":28}},"2":{"start":{"line":13,"column":8},"end":{"line":13,"column":29}},"3":{"start":{"line":17,"column":8},"end":{"line":17,"column":30}},"4":{"start":{"line":21,"column":8},"end":{"line":21,"column":37}},"5":{"start":{"line":22,"column":8},"end":{"line":22,"column":23}},"6":{"start":{"line":23,"column":8},"end":{"line":23,"column":26}},"7":{"start":{"line":26,"column":8},"end":{"line":26,"column":29}},"8":{"start":{"line":27,"column":8},"end":{"line":30,"column":9}},"9":{"start":{"line":28,"column":12},"end":{"line":28,"column":25}},"10":{"start":{"line":29,"column":12},"end":{"line":29,"column":19}},"11":{"start":{"line":31,"column":8},"end":{"line":35,"column":9}},"12":{"start":{"line":32,"column":12},"end":{"line":34,"column":31}},"13":{"start":{"line":33,"column":16},"end":{"line":33,"column":29}},"14":{"start":{"line":38,"column":21},"end":{"line":38,"column":30}},"15":{"start":{"line":39,"column":8},"end":{"line":39,"column":23}},"16":{"start":{"line":40,"column":8},"end":{"line":41,"column":37}},"17":{"start":{"line":41,"column":12},"end":{"line":41,"column":37}},"18":{"start":{"line":42,"column":8},"end":{"line":42,"column":26}},"19":{"start":{"line":43,"column":8},"end":{"line":51,"column":9}},"20":{"start":{"line":44,"column":12},"end":{"line":50,"column":13}},"21":{"start":{"line":45,"column":16},"end":{"line":45,"column":35}},"22":{"start":{"line":49,"column":16},"end":{"line":49,"column":51}},"23":{"start":{"line":52,"column":8},"end":{"line":52,"column":20}},"24":{"start":{"line":55,"column":0},"end":{"line":55,"column":32}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":9,"column":4},"end":{"line":9,"column":5}},"loc":{"start":{"line":9,"column":18},"end":{"line":24,"column":5}},"line":9},"1":{"name":"(anonymous_1)","decl":{"start":{"line":21,"column":23},"end":{"line":21,"column":24}},"loc":{"start":{"line":21,"column":33},"end":{"line":21,"column":36}},"line":21},"2":{"name":"(anonymous_2)","decl":{"start":{"line":25,"column":4},"end":{"line":25,"column":5}},"loc":{"start":{"line":25,"column":15},"end":{"line":36,"column":5}},"line":25},"3":{"name":"(anonymous_3)","decl":{"start":{"line":32,"column":36},"end":{"line":32,"column":37}},"loc":{"start":{"line":32,"column":42},"end":{"line":34,"column":13}},"line":32},"4":{"name":"(anonymous_4)","decl":{"start":{"line":37,"column":4},"end":{"line":37,"column":5}},"loc":{"start":{"line":37,"column":12},"end":{"line":53,"column":5}},"line":37}},"branchMap":{"0":{"loc":{"start":{"line":27,"column":8},"end":{"line":30,"column":9}},"type":"if","locations":[{"start":{"line":27,"column":8},"end":{"line":30,"column":9}},{"start":{},"end":{}}],"line":27},"1":{"loc":{"start":{"line":31,"column":8},"end":{"line":35,"column":9}},"type":"if","locations":[{"start":{"line":31,"column":8},"end":{"line":35,"column":9}},{"start":{},"end":{}}],"line":31},"2":{"loc":{"start":{"line":40,"column":8},"end":{"line":41,"column":37}},"type":"if","locations":[{"start":{"line":40,"column":8},"end":{"line":41,"column":37}},{"start":{},"end":{}}],"line":40},"3":{"loc":{"start":{"line":43,"column":8},"end":{"line":51,"column":9}},"type":"if","locations":[{"start":{"line":43,"column":8},"end":{"line":51,"column":9}},{"start":{},"end":{}}],"line":43}},"s":{"0":1,"1":1,"2":9,"3":9,"4":9,"5":9,"6":9,"7":24,"8":24,"9":3,"10":3,"11":21,"12":13,"13":5,"14":14,"15":14,"16":14,"17":13,"18":14,"19":14,"20":13,"21":13,"22":0,"23":14,"24":1},"f":{"0":9,"1":0,"2":24,"3":5,"4":14},"b":{"0":[3,21],"1":[13,8],"2":[13,1],"3":[13,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"5a881e2f34740bbef761c988c11a4ddac4995d86"} ,"/home/runner/work/thingies/thingies/src/TimedState.ts": {"path":"/home/runner/work/thingies/thingies/src/TimedState.ts","statementMap":{"0":{"start":{"line":2,"column":0},"end":{"line":2,"column":62}},"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":28}},"2":{"start":{"line":10,"column":8},"end":{"line":10,"column":35}},"3":{"start":{"line":11,"column":8},"end":{"line":11,"column":31}},"4":{"start":{"line":15,"column":8},"end":{"line":15,"column":29}},"5":{"start":{"line":19,"column":8},"end":{"line":19,"column":30}},"6":{"start":{"line":23,"column":8},"end":{"line":23,"column":33}},"7":{"start":{"line":24,"column":8},"end":{"line":24,"column":24}},"8":{"start":{"line":25,"column":8},"end":{"line":25,"column":38}},"9":{"start":{"line":26,"column":8},"end":{"line":26,"column":26}},"10":{"start":{"line":29,"column":8},"end":{"line":29,"column":22}},"11":{"start":{"line":30,"column":8},"end":{"line":30,"column":52}},"12":{"start":{"line":31,"column":8},"end":{"line":34,"column":9}},"13":{"start":{"line":32,"column":12},"end":{"line":32,"column":25}},"14":{"start":{"line":33,"column":12},"end":{"line":33,"column":19}},"15":{"start":{"line":35,"column":8},"end":{"line":39,"column":9}},"16":{"start":{"line":36,"column":12},"end":{"line":38,"column":31}},"17":{"start":{"line":37,"column":16},"end":{"line":37,"column":29}},"18":{"start":{"line":42,"column":34},"end":{"line":42,"column":38}},"19":{"start":{"line":43,"column":8},"end":{"line":43,"column":38}},"20":{"start":{"line":44,"column":8},"end":{"line":44,"column":24}},"21":{"start":{"line":45,"column":8},"end":{"line":46,"column":37}},"22":{"start":{"line":46,"column":12},"end":{"line":46,"column":37}},"23":{"start":{"line":47,"column":8},"end":{"line":56,"column":9}},"24":{"start":{"line":48,"column":12},"end":{"line":48,"column":30}},"25":{"start":{"line":49,"column":12},"end":{"line":55,"column":13}},"26":{"start":{"line":50,"column":16},"end":{"line":50,"column":36}},"27":{"start":{"line":54,"column":16},"end":{"line":54,"column":51}},"28":{"start":{"line":57,"column":8},"end":{"line":57,"column":21}},"29":{"start":{"line":60,"column":0},"end":{"line":60,"column":32}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":9,"column":4},"end":{"line":9,"column":5}},"loc":{"start":{"line":9,"column":36},"end":{"line":27,"column":5}},"line":9},"1":{"name":"(anonymous_1)","decl":{"start":{"line":23,"column":23},"end":{"line":23,"column":24}},"loc":{"start":{"line":23,"column":29},"end":{"line":23,"column":32}},"line":23},"2":{"name":"(anonymous_2)","decl":{"start":{"line":28,"column":4},"end":{"line":28,"column":5}},"loc":{"start":{"line":28,"column":15},"end":{"line":40,"column":5}},"line":28},"3":{"name":"(anonymous_3)","decl":{"start":{"line":36,"column":36},"end":{"line":36,"column":37}},"loc":{"start":{"line":36,"column":42},"end":{"line":38,"column":13}},"line":36},"4":{"name":"(anonymous_4)","decl":{"start":{"line":41,"column":4},"end":{"line":41,"column":5}},"loc":{"start":{"line":41,"column":12},"end":{"line":58,"column":5}},"line":41}},"branchMap":{"0":{"loc":{"start":{"line":31,"column":8},"end":{"line":34,"column":9}},"type":"if","locations":[{"start":{"line":31,"column":8},"end":{"line":34,"column":9}},{"start":{},"end":{}}],"line":31},"1":{"loc":{"start":{"line":35,"column":8},"end":{"line":39,"column":9}},"type":"if","locations":[{"start":{"line":35,"column":8},"end":{"line":39,"column":9}},{"start":{},"end":{}}],"line":35},"2":{"loc":{"start":{"line":45,"column":8},"end":{"line":46,"column":37}},"type":"if","locations":[{"start":{"line":45,"column":8},"end":{"line":46,"column":37}},{"start":{},"end":{}}],"line":45},"3":{"loc":{"start":{"line":47,"column":8},"end":{"line":56,"column":9}},"type":"if","locations":[{"start":{"line":47,"column":8},"end":{"line":56,"column":9}},{"start":{},"end":{}}],"line":47}},"s":{"0":1,"1":1,"2":10,"3":10,"4":10,"5":10,"6":10,"7":10,"8":10,"9":10,"10":26,"11":26,"12":26,"13":3,"14":3,"15":23,"16":14,"17":5,"18":15,"19":15,"20":15,"21":15,"22":14,"23":15,"24":14,"25":14,"26":14,"27":0,"28":15,"29":1},"f":{"0":10,"1":0,"2":26,"3":5,"4":15},"b":{"0":[3,23],"1":[14,9],"2":[14,1],"3":[14,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"79007a2fcd908217c3535b61e1aecf0d7dfc2223"} ,"/home/runner/work/thingies/thingies/src/base64.ts": {"path":"/home/runner/work/thingies/thingies/src/base64.ts","statementMap":{"0":{"start":{"line":2,"column":0},"end":{"line":2,"column":62}},"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":45}},"2":{"start":{"line":4,"column":17},"end":{"line":4,"column":61}},"3":{"start":{"line":4,"column":26},"end":{"line":4,"column":61}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":28}},"5":{"start":{"line":6,"column":17},"end":{"line":6,"column":63}},"6":{"start":{"line":6,"column":26},"end":{"line":6,"column":63}},"7":{"start":{"line":7,"column":0},"end":{"line":7,"column":28}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":4,"column":17},"end":{"line":4,"column":18}},"loc":{"start":{"line":4,"column":26},"end":{"line":4,"column":61}},"line":4},"1":{"name":"(anonymous_1)","decl":{"start":{"line":6,"column":17},"end":{"line":6,"column":18}},"loc":{"start":{"line":6,"column":26},"end":{"line":6,"column":63}},"line":6}},"branchMap":{},"s":{"0":1,"1":1,"2":1,"3":2,"4":1,"5":1,"6":1,"7":1},"f":{"0":2,"1":1},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"3a21377d8cd014879eeea1d1130f7d743aa8876d"} -,"/home/runner/work/thingies/thingies/src/codeMutex.ts": {"path":"/home/runner/work/thingies/thingies/src/codeMutex.ts","statementMap":{"0":{"start":{"line":2,"column":0},"end":{"line":2,"column":62}},"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":27}},"2":{"start":{"line":8,"column":18},"end":{"line":20,"column":1}},"3":{"start":{"line":10,"column":4},"end":{"line":19,"column":6}},"4":{"start":{"line":11,"column":8},"end":{"line":12,"column":26}},"5":{"start":{"line":12,"column":12},"end":{"line":12,"column":26}},"6":{"start":{"line":13,"column":8},"end":{"line":18,"column":9}},"7":{"start":{"line":14,"column":12},"end":{"line":14,"column":43}},"8":{"start":{"line":17,"column":12},"end":{"line":17,"column":31}},"9":{"start":{"line":21,"column":0},"end":{"line":21,"column":30}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":18},"end":{"line":8,"column":19}},"loc":{"start":{"line":8,"column":24},"end":{"line":20,"column":1}},"line":8},"1":{"name":"(anonymous_1)","decl":{"start":{"line":10,"column":11},"end":{"line":10,"column":12}},"loc":{"start":{"line":10,"column":27},"end":{"line":19,"column":5}},"line":10}},"branchMap":{"0":{"loc":{"start":{"line":11,"column":8},"end":{"line":12,"column":26}},"type":"if","locations":[{"start":{"line":11,"column":8},"end":{"line":12,"column":26}},{"start":{},"end":{}}],"line":11}},"s":{"0":2,"1":2,"2":2,"3":13,"4":57,"5":30,"6":27,"7":27,"8":27,"9":2},"f":{"0":13,"1":57},"b":{"0":[30,27]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"501b0f946525d069639ac758a4eb95fc9695ec16"} +,"/home/runner/work/thingies/thingies/src/codeMutex.ts": {"path":"/home/runner/work/thingies/thingies/src/codeMutex.ts","statementMap":{"0":{"start":{"line":2,"column":0},"end":{"line":2,"column":62}},"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":27}},"2":{"start":{"line":8,"column":18},"end":{"line":20,"column":1}},"3":{"start":{"line":10,"column":4},"end":{"line":19,"column":6}},"4":{"start":{"line":11,"column":8},"end":{"line":12,"column":26}},"5":{"start":{"line":12,"column":12},"end":{"line":12,"column":26}},"6":{"start":{"line":13,"column":8},"end":{"line":18,"column":9}},"7":{"start":{"line":14,"column":12},"end":{"line":14,"column":43}},"8":{"start":{"line":17,"column":12},"end":{"line":17,"column":31}},"9":{"start":{"line":21,"column":0},"end":{"line":21,"column":30}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":18},"end":{"line":8,"column":19}},"loc":{"start":{"line":8,"column":24},"end":{"line":20,"column":1}},"line":8},"1":{"name":"(anonymous_1)","decl":{"start":{"line":10,"column":11},"end":{"line":10,"column":12}},"loc":{"start":{"line":10,"column":27},"end":{"line":19,"column":5}},"line":10}},"branchMap":{"0":{"loc":{"start":{"line":11,"column":8},"end":{"line":12,"column":26}},"type":"if","locations":[{"start":{"line":11,"column":8},"end":{"line":12,"column":26}},{"start":{},"end":{}}],"line":11}},"s":{"0":2,"1":2,"2":2,"3":13,"4":57,"5":31,"6":26,"7":26,"8":26,"9":2},"f":{"0":13,"1":57},"b":{"0":[31,26]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"501b0f946525d069639ac758a4eb95fc9695ec16"} ,"/home/runner/work/thingies/thingies/src/concurrency.ts": {"path":"/home/runner/work/thingies/thingies/src/concurrency.ts","statementMap":{"0":{"start":{"line":2,"column":0},"end":{"line":2,"column":62}},"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":29}},"2":{"start":{"line":4,"column":13},"end":{"line":4,"column":28}},"3":{"start":{"line":8,"column":8},"end":{"line":8,"column":25}},"4":{"start":{"line":9,"column":8},"end":{"line":12,"column":11}},"5":{"start":{"line":10,"column":12},"end":{"line":10,"column":35}},"6":{"start":{"line":11,"column":12},"end":{"line":11,"column":33}},"7":{"start":{"line":16,"column":20},"end":{"line":41,"column":1}},"8":{"start":{"line":17,"column":18},"end":{"line":17,"column":19}},"9":{"start":{"line":18,"column":18},"end":{"line":18,"column":27}},"10":{"start":{"line":19,"column":17},"end":{"line":35,"column":5}},"11":{"start":{"line":20,"column":21},"end":{"line":20,"column":48}},"12":{"start":{"line":21,"column":8},"end":{"line":24,"column":19}},"13":{"start":{"line":22,"column":12},"end":{"line":22,"column":31}},"14":{"start":{"line":24,"column":12},"end":{"line":24,"column":19}},"15":{"start":{"line":25,"column":8},"end":{"line":25,"column":18}},"16":{"start":{"line":26,"column":8},"end":{"line":34,"column":9}},"17":{"start":{"line":27,"column":12},"end":{"line":27,"column":44}},"18":{"start":{"line":30,"column":12},"end":{"line":30,"column":31}},"19":{"start":{"line":33,"column":12},"end":{"line":33,"column":56}},"20":{"start":{"line":36,"column":4},"end":{"line":40,"column":6}},"21":{"start":{"line":37,"column":21},"end":{"line":37,"column":35}},"22":{"start":{"line":38,"column":8},"end":{"line":38,"column":24}},"23":{"start":{"line":39,"column":8},"end":{"line":39,"column":67}},"24":{"start":{"line":42,"column":0},"end":{"line":42,"column":34}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":7,"column":4},"end":{"line":7,"column":5}},"loc":{"start":{"line":7,"column":22},"end":{"line":13,"column":5}},"line":7},"1":{"name":"(anonymous_1)","decl":{"start":{"line":9,"column":35},"end":{"line":9,"column":36}},"loc":{"start":{"line":9,"column":56},"end":{"line":12,"column":9}},"line":9},"2":{"name":"(anonymous_2)","decl":{"start":{"line":16,"column":20},"end":{"line":16,"column":21}},"loc":{"start":{"line":16,"column":31},"end":{"line":41,"column":1}},"line":16},"3":{"name":"(anonymous_3)","decl":{"start":{"line":19,"column":17},"end":{"line":19,"column":18}},"loc":{"start":{"line":19,"column":29},"end":{"line":35,"column":5}},"line":19},"4":{"name":"(anonymous_4)","decl":{"start":{"line":36,"column":11},"end":{"line":36,"column":12}},"loc":{"start":{"line":36,"column":27},"end":{"line":40,"column":5}},"line":36}},"branchMap":{"0":{"loc":{"start":{"line":21,"column":8},"end":{"line":24,"column":19}},"type":"if","locations":[{"start":{"line":21,"column":8},"end":{"line":24,"column":19}},{"start":{"line":24,"column":12},"end":{"line":24,"column":19}}],"line":21},"1":{"loc":{"start":{"line":33,"column":23},"end":{"line":33,"column":55}},"type":"binary-expr","locations":[{"start":{"line":33,"column":23},"end":{"line":33,"column":33}},{"start":{"line":33,"column":37},"end":{"line":33,"column":55}}],"line":33},"2":{"loc":{"start":{"line":39,"column":15},"end":{"line":39,"column":52}},"type":"binary-expr","locations":[{"start":{"line":39,"column":15},"end":{"line":39,"column":30}},{"start":{"line":39,"column":34},"end":{"line":39,"column":52}}],"line":39}},"s":{"0":2,"1":2,"2":2,"3":1806,"4":1806,"5":1806,"6":1806,"7":2,"8":268,"9":268,"10":268,"11":1806,"12":1806,"13":1806,"14":0,"15":1806,"16":1806,"17":1806,"18":0,"19":1806,"20":268,"21":1806,"22":1806,"23":1806,"24":2},"f":{"0":1806,"1":1806,"2":268,"3":1806,"4":1806},"b":{"0":[1806,0],"1":[1806,925],"2":[1806,881]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"560c46b14783dd4ebdbf1e1cc2223eab694a1a7a"} ,"/home/runner/work/thingies/thingies/src/concurrencyDecorator.ts": {"path":"/home/runner/work/thingies/thingies/src/concurrencyDecorator.ts","statementMap":{"0":{"start":{"line":2,"column":0},"end":{"line":2,"column":62}},"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":34}},"2":{"start":{"line":4,"column":22},"end":{"line":4,"column":46}},"3":{"start":{"line":6,"column":18},"end":{"line":6,"column":31}},"4":{"start":{"line":13,"column":4},"end":{"line":22,"column":6}},"5":{"start":{"line":14,"column":8},"end":{"line":21,"column":10}},"6":{"start":{"line":15,"column":22},"end":{"line":15,"column":41}},"7":{"start":{"line":16,"column":12},"end":{"line":17,"column":59}},"8":{"start":{"line":17,"column":16},"end":{"line":17,"column":59}},"9":{"start":{"line":18,"column":12},"end":{"line":19,"column":67}},"10":{"start":{"line":19,"column":16},"end":{"line":19,"column":67}},"11":{"start":{"line":20,"column":12},"end":{"line":20,"column":73}},"12":{"start":{"line":20,"column":43},"end":{"line":20,"column":71}}},"fnMap":{"0":{"name":"concurrency","decl":{"start":{"line":12,"column":9},"end":{"line":12,"column":20}},"loc":{"start":{"line":12,"column":28},"end":{"line":23,"column":1}},"line":12},"1":{"name":"(anonymous_1)","decl":{"start":{"line":13,"column":11},"end":{"line":13,"column":12}},"loc":{"start":{"line":13,"column":28},"end":{"line":22,"column":5}},"line":13},"2":{"name":"(anonymous_2)","decl":{"start":{"line":14,"column":15},"end":{"line":14,"column":16}},"loc":{"start":{"line":14,"column":40},"end":{"line":21,"column":9}},"line":14},"3":{"name":"(anonymous_3)","decl":{"start":{"line":20,"column":31},"end":{"line":20,"column":32}},"loc":{"start":{"line":20,"column":43},"end":{"line":20,"column":71}},"line":20}},"branchMap":{"0":{"loc":{"start":{"line":16,"column":12},"end":{"line":17,"column":59}},"type":"if","locations":[{"start":{"line":16,"column":12},"end":{"line":17,"column":59}},{"start":{},"end":{}}],"line":16},"1":{"loc":{"start":{"line":18,"column":12},"end":{"line":19,"column":67}},"type":"if","locations":[{"start":{"line":18,"column":12},"end":{"line":19,"column":67}},{"start":{},"end":{}}],"line":18}},"s":{"0":1,"1":1,"2":1,"3":1,"4":135,"5":135,"6":909,"7":909,"8":135,"9":909,"10":136,"11":909,"12":909},"f":{"0":135,"1":135,"2":909,"3":909},"b":{"0":[135,774],"1":[136,773]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"102ebcf24e06ced395fe8e8bf6927cc80457fdc4"} ,"/home/runner/work/thingies/thingies/src/createRace.ts": {"path":"/home/runner/work/thingies/thingies/src/createRace.ts","statementMap":{"0":{"start":{"line":2,"column":0},"end":{"line":2,"column":62}},"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":28}},"2":{"start":{"line":30,"column":19},"end":{"line":43,"column":1}},"3":{"start":{"line":31,"column":18},"end":{"line":31,"column":23}},"4":{"start":{"line":32,"column":4},"end":{"line":42,"column":6}},"5":{"start":{"line":33,"column":8},"end":{"line":34,"column":19}},"6":{"start":{"line":34,"column":12},"end":{"line":34,"column":19}},"7":{"start":{"line":35,"column":8},"end":{"line":35,"column":23}},"8":{"start":{"line":36,"column":8},"end":{"line":41,"column":9}},"9":{"start":{"line":37,"column":12},"end":{"line":37,"column":24}},"10":{"start":{"line":40,"column":12},"end":{"line":40,"column":28}},"11":{"start":{"line":44,"column":0},"end":{"line":44,"column":32}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":30,"column":19},"end":{"line":30,"column":20}},"loc":{"start":{"line":30,"column":25},"end":{"line":43,"column":1}},"line":30},"1":{"name":"(anonymous_1)","decl":{"start":{"line":32,"column":11},"end":{"line":32,"column":12}},"loc":{"start":{"line":32,"column":19},"end":{"line":42,"column":5}},"line":32}},"branchMap":{"0":{"loc":{"start":{"line":33,"column":8},"end":{"line":34,"column":19}},"type":"if","locations":[{"start":{"line":33,"column":8},"end":{"line":34,"column":19}},{"start":{},"end":{}}],"line":33}},"s":{"0":1,"1":1,"2":1,"3":3,"4":3,"5":6,"6":2,"7":4,"8":4,"9":4,"10":4,"11":1},"f":{"0":3,"1":6},"b":{"0":[2,4]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"e8dae8cb20446647bbaa5100dca0d38f69ba7826"} @@ -18,7 +18,7 @@ ,"/home/runner/work/thingies/thingies/src/mutex.ts": {"path":"/home/runner/work/thingies/thingies/src/mutex.ts","statementMap":{"0":{"start":{"line":2,"column":0},"end":{"line":2,"column":62}},"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":22}},"2":{"start":{"line":4,"column":20},"end":{"line":4,"column":42}},"3":{"start":{"line":11,"column":24},"end":{"line":11,"column":33}},"4":{"start":{"line":12,"column":4},"end":{"line":17,"column":5}},"5":{"start":{"line":13,"column":20},"end":{"line":13,"column":48}},"6":{"start":{"line":14,"column":8},"end":{"line":16,"column":10}},"7":{"start":{"line":15,"column":12},"end":{"line":15,"column":71}},"8":{"start":{"line":15,"column":41},"end":{"line":15,"column":69}},"9":{"start":{"line":18,"column":22},"end":{"line":18,"column":35}},"10":{"start":{"line":19,"column":4},"end":{"line":26,"column":6}},"11":{"start":{"line":20,"column":18},"end":{"line":20,"column":37}},"12":{"start":{"line":21,"column":8},"end":{"line":22,"column":55}},"13":{"start":{"line":22,"column":12},"end":{"line":22,"column":55}},"14":{"start":{"line":23,"column":8},"end":{"line":24,"column":54}},"15":{"start":{"line":24,"column":12},"end":{"line":24,"column":54}},"16":{"start":{"line":25,"column":8},"end":{"line":25,"column":75}},"17":{"start":{"line":25,"column":45},"end":{"line":25,"column":73}}},"fnMap":{"0":{"name":"mutex","decl":{"start":{"line":10,"column":9},"end":{"line":10,"column":14}},"loc":{"start":{"line":10,"column":28},"end":{"line":27,"column":1}},"line":10},"1":{"name":"(anonymous_1)","decl":{"start":{"line":14,"column":15},"end":{"line":14,"column":16}},"loc":{"start":{"line":14,"column":40},"end":{"line":16,"column":9}},"line":14},"2":{"name":"(anonymous_2)","decl":{"start":{"line":15,"column":29},"end":{"line":15,"column":30}},"loc":{"start":{"line":15,"column":41},"end":{"line":15,"column":69}},"line":15},"3":{"name":"(anonymous_3)","decl":{"start":{"line":19,"column":11},"end":{"line":19,"column":12}},"loc":{"start":{"line":19,"column":36},"end":{"line":26,"column":5}},"line":19},"4":{"name":"(anonymous_4)","decl":{"start":{"line":25,"column":33},"end":{"line":25,"column":34}},"loc":{"start":{"line":25,"column":45},"end":{"line":25,"column":73}},"line":25}},"branchMap":{"0":{"loc":{"start":{"line":12,"column":4},"end":{"line":17,"column":5}},"type":"if","locations":[{"start":{"line":12,"column":4},"end":{"line":17,"column":5}},{"start":{},"end":{}}],"line":12},"1":{"loc":{"start":{"line":21,"column":8},"end":{"line":22,"column":55}},"type":"if","locations":[{"start":{"line":21,"column":8},"end":{"line":22,"column":55}},{"start":{},"end":{}}],"line":21},"2":{"loc":{"start":{"line":23,"column":8},"end":{"line":24,"column":54}},"type":"if","locations":[{"start":{"line":23,"column":8},"end":{"line":24,"column":54}},{"start":{},"end":{}}],"line":23}},"s":{"0":1,"1":1,"2":1,"3":7,"4":7,"5":2,"6":2,"7":12,"8":6,"9":5,"10":5,"11":21,"12":21,"13":6,"14":21,"15":6,"16":21,"17":10},"f":{"0":7,"1":12,"2":6,"3":21,"4":10},"b":{"0":[2,5],"1":[6,15],"2":[6,15]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"2e2a76f5d119e7a328a5d7585ebabb5258afdd8b"} ,"/home/runner/work/thingies/thingies/src/normalizeEmail.ts": {"path":"/home/runner/work/thingies/thingies/src/normalizeEmail.ts","statementMap":{"0":{"start":{"line":2,"column":0},"end":{"line":2,"column":62}},"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":32}},"2":{"start":{"line":4,"column":16},"end":{"line":4,"column":21}},"3":{"start":{"line":20,"column":23},"end":{"line":27,"column":1}},"4":{"start":{"line":21,"column":25},"end":{"line":21,"column":41}},"5":{"start":{"line":22,"column":23},"end":{"line":22,"column":38}},"6":{"start":{"line":23,"column":4},"end":{"line":23,"column":49}},"7":{"start":{"line":24,"column":19},"end":{"line":24,"column":70}},"8":{"start":{"line":25,"column":4},"end":{"line":25,"column":19}},"9":{"start":{"line":26,"column":4},"end":{"line":26,"column":18}},"10":{"start":{"line":28,"column":0},"end":{"line":28,"column":40}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":20,"column":23},"end":{"line":20,"column":24}},"loc":{"start":{"line":20,"column":34},"end":{"line":27,"column":1}},"line":20}},"branchMap":{},"s":{"0":1,"1":1,"2":1,"3":1,"4":4,"5":4,"6":4,"7":4,"8":4,"9":4,"10":1},"f":{"0":4},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"9f44ba8903e4134f34af6db493440cf9ed3ce850"} ,"/home/runner/work/thingies/thingies/src/once.ts": {"path":"/home/runner/work/thingies/thingies/src/once.ts","statementMap":{"0":{"start":{"line":3,"column":0},"end":{"line":3,"column":62}},"1":{"start":{"line":4,"column":0},"end":{"line":4,"column":20}},"2":{"start":{"line":5,"column":18},"end":{"line":5,"column":31}},"3":{"start":{"line":11,"column":4},"end":{"line":18,"column":6}},"4":{"start":{"line":12,"column":18},"end":{"line":12,"column":37}},"5":{"start":{"line":13,"column":8},"end":{"line":14,"column":55}},"6":{"start":{"line":14,"column":12},"end":{"line":14,"column":55}},"7":{"start":{"line":15,"column":8},"end":{"line":16,"column":46}},"8":{"start":{"line":16,"column":12},"end":{"line":16,"column":46}},"9":{"start":{"line":17,"column":8},"end":{"line":17,"column":27}}},"fnMap":{"0":{"name":"once","decl":{"start":{"line":10,"column":9},"end":{"line":10,"column":13}},"loc":{"start":{"line":10,"column":27},"end":{"line":19,"column":1}},"line":10},"1":{"name":"(anonymous_1)","decl":{"start":{"line":11,"column":11},"end":{"line":11,"column":12}},"loc":{"start":{"line":11,"column":30},"end":{"line":18,"column":5}},"line":11}},"branchMap":{"0":{"loc":{"start":{"line":13,"column":8},"end":{"line":14,"column":55}},"type":"if","locations":[{"start":{"line":13,"column":8},"end":{"line":14,"column":55}},{"start":{},"end":{}}],"line":13},"1":{"loc":{"start":{"line":15,"column":8},"end":{"line":16,"column":46}},"type":"if","locations":[{"start":{"line":15,"column":8},"end":{"line":16,"column":46}},{"start":{},"end":{}}],"line":15}},"s":{"0":1,"1":1,"2":1,"3":5,"4":17,"5":17,"6":4,"7":17,"8":5,"9":17},"f":{"0":5,"1":17},"b":{"0":[4,13],"1":[5,12]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"e365af0ff5cdcc2f293149a81c08113714ddad38"} -,"/home/runner/work/thingies/thingies/src/tick.ts": {"path":"/home/runner/work/thingies/thingies/src/tick.ts","statementMap":{"0":{"start":{"line":2,"column":0},"end":{"line":2,"column":62}},"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":22}},"2":{"start":{"line":4,"column":13},"end":{"line":4,"column":62}},"3":{"start":{"line":4,"column":25},"end":{"line":4,"column":62}},"4":{"start":{"line":4,"column":44},"end":{"line":4,"column":61}},"5":{"start":{"line":5,"column":0},"end":{"line":5,"column":20}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":4,"column":13},"end":{"line":4,"column":14}},"loc":{"start":{"line":4,"column":25},"end":{"line":4,"column":62}},"line":4},"1":{"name":"(anonymous_1)","decl":{"start":{"line":4,"column":37},"end":{"line":4,"column":38}},"loc":{"start":{"line":4,"column":44},"end":{"line":4,"column":61}},"line":4}},"branchMap":{"0":{"loc":{"start":{"line":4,"column":14},"end":{"line":4,"column":20}},"type":"default-arg","locations":[{"start":{"line":4,"column":19},"end":{"line":4,"column":20}}],"line":4}},"s":{"0":6,"1":6,"2":6,"3":980,"4":980,"5":6},"f":{"0":980,"1":980},"b":{"0":[0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"5b0d4fc99e3ef8c9a4af73dff1bd18b0ca6e7f5b"} +,"/home/runner/work/thingies/thingies/src/tick.ts": {"path":"/home/runner/work/thingies/thingies/src/tick.ts","statementMap":{"0":{"start":{"line":2,"column":0},"end":{"line":2,"column":62}},"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":22}},"2":{"start":{"line":4,"column":13},"end":{"line":4,"column":62}},"3":{"start":{"line":4,"column":25},"end":{"line":4,"column":62}},"4":{"start":{"line":4,"column":44},"end":{"line":4,"column":61}},"5":{"start":{"line":5,"column":0},"end":{"line":5,"column":20}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":4,"column":13},"end":{"line":4,"column":14}},"loc":{"start":{"line":4,"column":25},"end":{"line":4,"column":62}},"line":4},"1":{"name":"(anonymous_1)","decl":{"start":{"line":4,"column":37},"end":{"line":4,"column":38}},"loc":{"start":{"line":4,"column":44},"end":{"line":4,"column":61}},"line":4}},"branchMap":{"0":{"loc":{"start":{"line":4,"column":14},"end":{"line":4,"column":20}},"type":"default-arg","locations":[{"start":{"line":4,"column":19},"end":{"line":4,"column":20}}],"line":4}},"s":{"0":6,"1":6,"2":6,"3":979,"4":979,"5":6},"f":{"0":979,"1":979},"b":{"0":[0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"5b0d4fc99e3ef8c9a4af73dff1bd18b0ca6e7f5b"} ,"/home/runner/work/thingies/thingies/src/timeout.ts": {"path":"/home/runner/work/thingies/thingies/src/timeout.ts","statementMap":{"0":{"start":{"line":2,"column":0},"end":{"line":2,"column":62}},"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":25}},"2":{"start":{"line":19,"column":16},"end":{"line":29,"column":2}},"3":{"start":{"line":19,"column":30},"end":{"line":29,"column":2}},"4":{"start":{"line":20,"column":18},"end":{"line":20,"column":68}},"5":{"start":{"line":20,"column":35},"end":{"line":20,"column":63}},"6":{"start":{"line":21,"column":20},"end":{"line":21,"column":62}},"7":{"start":{"line":22,"column":4},"end":{"line":28,"column":7}},"8":{"start":{"line":23,"column":8},"end":{"line":23,"column":28}},"9":{"start":{"line":24,"column":8},"end":{"line":24,"column":24}},"10":{"start":{"line":26,"column":8},"end":{"line":26,"column":28}},"11":{"start":{"line":27,"column":8},"end":{"line":27,"column":22}},"12":{"start":{"line":30,"column":0},"end":{"line":30,"column":26}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":19,"column":16},"end":{"line":19,"column":17}},"loc":{"start":{"line":19,"column":30},"end":{"line":29,"column":2}},"line":19},"1":{"name":"(anonymous_1)","decl":{"start":{"line":19,"column":42},"end":{"line":19,"column":43}},"loc":{"start":{"line":19,"column":63},"end":{"line":29,"column":1}},"line":19},"2":{"name":"(anonymous_2)","decl":{"start":{"line":20,"column":29},"end":{"line":20,"column":30}},"loc":{"start":{"line":20,"column":35},"end":{"line":20,"column":63}},"line":20},"3":{"name":"(anonymous_3)","decl":{"start":{"line":22,"column":17},"end":{"line":22,"column":18}},"loc":{"start":{"line":22,"column":29},"end":{"line":25,"column":5}},"line":22},"4":{"name":"(anonymous_4)","decl":{"start":{"line":25,"column":7},"end":{"line":25,"column":8}},"loc":{"start":{"line":25,"column":18},"end":{"line":28,"column":5}},"line":25}},"branchMap":{"0":{"loc":{"start":{"line":21,"column":20},"end":{"line":21,"column":62}},"type":"cond-expr","locations":[{"start":{"line":21,"column":49},"end":{"line":21,"column":55}},{"start":{"line":21,"column":58},"end":{"line":21,"column":62}}],"line":21}},"s":{"0":1,"1":1,"2":1,"3":4,"4":4,"5":1,"6":4,"7":4,"8":3,"9":3,"10":0,"11":0,"12":1},"f":{"0":4,"1":4,"2":1,"3":3,"4":0},"b":{"0":[3,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"7ddfb804a167d7fa97fdc2462cde72ab52ae8cba"} ,"/home/runner/work/thingies/thingies/src/xorshift.ts": {"path":"/home/runner/work/thingies/thingies/src/xorshift.ts","statementMap":{"0":{"start":{"line":2,"column":0},"end":{"line":2,"column":62}},"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":53}},"2":{"start":{"line":4,"column":23},"end":{"line":12,"column":1}},"3":{"start":{"line":5,"column":12},"end":{"line":5,"column":20}},"4":{"start":{"line":6,"column":4},"end":{"line":11,"column":6}},"5":{"start":{"line":7,"column":8},"end":{"line":7,"column":21}},"6":{"start":{"line":8,"column":8},"end":{"line":8,"column":21}},"7":{"start":{"line":9,"column":8},"end":{"line":9,"column":20}},"8":{"start":{"line":10,"column":8},"end":{"line":10,"column":17}},"9":{"start":{"line":13,"column":0},"end":{"line":13,"column":40}},"10":{"start":{"line":14,"column":0},"end":{"line":14,"column":51}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":4,"column":23},"end":{"line":4,"column":24}},"loc":{"start":{"line":4,"column":84},"end":{"line":12,"column":1}},"line":4},"1":{"name":"xorShift32","decl":{"start":{"line":6,"column":20},"end":{"line":6,"column":30}},"loc":{"start":{"line":6,"column":33},"end":{"line":11,"column":5}},"line":6}},"branchMap":{"0":{"loc":{"start":{"line":4,"column":24},"end":{"line":4,"column":79}},"type":"default-arg","locations":[{"start":{"line":4,"column":31},"end":{"line":4,"column":79}}],"line":4}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":100,"6":100,"7":100,"8":100,"9":1,"10":1},"f":{"0":1,"1":100},"b":{"0":[1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"e26aa82e3aa60dbf427f9af4f13d8e905f547b1a"} } diff --git a/coverage/lcov-report/Cache.ts.html b/coverage/lcov-report/Cache.ts.html index 3dd876e..3410172 100644 --- a/coverage/lcov-report/Cache.ts.html +++ b/coverage/lcov-report/Cache.ts.html @@ -442,7 +442,7 @@

    All files Cache.ts

    Function codeMutex

    • Executes only one instance of give code at a time. If other calls come in in parallel, they get resolved to the result of the ongoing execution.

      -

      Type Parameters

      • T

      Returns ((code) => Promise<T>)

        • (code): Promise<T>
        • Parameters

          Returns Promise<T>

    \ No newline at end of file +

    Type Parameters

    • T

    Returns ((code) => Promise<T>)

      • (code): Promise<T>
      • Parameters

        Returns Promise<T>

    \ No newline at end of file diff --git a/functions/concurrency.html b/functions/concurrency.html index 537b03f..38c4575 100644 --- a/functions/concurrency.html +++ b/functions/concurrency.html @@ -1,2 +1,2 @@ concurrency | thingies

    Function concurrency

    \ No newline at end of file +

    Parameters

    • limit: number

    Returns (<T>(code) => Promise<T>)

      • <T>(code): Promise<T>
      • Type Parameters

        • T = unknown

        Parameters

        Returns Promise<T>

    \ No newline at end of file diff --git a/functions/concurrencyDecorator.html b/functions/concurrencyDecorator.html index db3c5db..549584a 100644 --- a/functions/concurrencyDecorator.html +++ b/functions/concurrencyDecorator.html @@ -1,4 +1,4 @@ concurrencyDecorator | thingies

    Function concurrencyDecorator

    • A class method decorator that limits the concurrency of the method to the given number of parallel executions. All invocations are queued and executed in the order they were called.

      -

      Type Parameters

      • This
      • Args extends any[]
      • Return

      Parameters

      • limit: number

      Returns ((fn, context?) => ((this, ...args) => Promise<Return>))

        • (fn, context?): ((this, ...args) => Promise<Return>)
        • Parameters

          • fn: ((this, ...args) => Promise<Return>)
          • Optional context: ClassMethodDecoratorContext<This, ((this, ...args) => Promise<Return>)>

          Returns ((this, ...args) => Promise<Return>)

    \ No newline at end of file +

    Type Parameters

    • This
    • Args extends any[]
    • Return

    Parameters

    • limit: number

    Returns ((fn, context?) => ((this, ...args) => Promise<Return>))

      • (fn, context?): ((this, ...args) => Promise<Return>)
      • Parameters

        • fn: ((this, ...args) => Promise<Return>)
        • Optional context: ClassMethodDecoratorContext<This, ((this, ...args) => Promise<Return>)>

        Returns ((this, ...args) => Promise<Return>)

    \ No newline at end of file diff --git a/functions/dataUri.html b/functions/dataUri.html index 6442762..b27a95e 100644 --- a/functions/dataUri.html +++ b/functions/dataUri.html @@ -2,4 +2,4 @@

    Parameters

    • data: string

      The data to convert to a data URI.

    • mime: string

      The MIME type of the data.

    Returns string

    The data URI.

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/functions/debug.html b/functions/debug.html index 2942f75..c0399a9 100644 --- a/functions/debug.html +++ b/functions/debug.html @@ -1 +1 @@ -debug | thingies

    Function debug

    \ No newline at end of file +debug | thingies

    Function debug

    \ No newline at end of file diff --git a/functions/decode64.html b/functions/decode64.html index d1b56c1..0ea4894 100644 --- a/functions/decode64.html +++ b/functions/decode64.html @@ -1 +1 @@ -decode64 | thingies

    Function decode64

    \ No newline at end of file +decode64 | thingies

    Function decode64

    \ No newline at end of file diff --git a/functions/encode64.html b/functions/encode64.html index 42faf5e..a41ff5b 100644 --- a/functions/encode64.html +++ b/functions/encode64.html @@ -1 +1 @@ -encode64 | thingies

    Function encode64

    \ No newline at end of file +encode64 | thingies

    Function encode64

    \ No newline at end of file diff --git a/functions/go.html b/functions/go.html index daa25be..5147b0b 100644 --- a/functions/go.html +++ b/functions/go.html @@ -1,2 +1,2 @@ go | thingies

    Function go

    \ No newline at end of file +

    Type Parameters

    • T

    Parameters

    Returns void

    \ No newline at end of file diff --git a/functions/hasKeys.html b/functions/hasKeys.html index 0f99bb5..58d44b4 100644 --- a/functions/hasKeys.html +++ b/functions/hasKeys.html @@ -1 +1 @@ -hasKeys | thingies

    Function hasKeys

    \ No newline at end of file +hasKeys | thingies

    Function hasKeys

    \ No newline at end of file diff --git a/functions/hash.html b/functions/hash.html index b8fe686..d0fb7c1 100644 --- a/functions/hash.html +++ b/functions/hash.html @@ -1 +1 @@ -hash | thingies

    Function hash

    \ No newline at end of file +hash | thingies

    Function hash

    \ No newline at end of file diff --git a/functions/loadCss.html b/functions/loadCss.html index 90fd3fe..fb9cb8c 100644 --- a/functions/loadCss.html +++ b/functions/loadCss.html @@ -1 +1 @@ -loadCss | thingies

    Function loadCss

    \ No newline at end of file +loadCss | thingies

    Function loadCss

    \ No newline at end of file diff --git a/functions/makeXorShift32.html b/functions/makeXorShift32.html index ff3fe61..47c3bb3 100644 --- a/functions/makeXorShift32.html +++ b/functions/makeXorShift32.html @@ -1 +1 @@ -makeXorShift32 | thingies

    Function makeXorShift32

    \ No newline at end of file +makeXorShift32 | thingies

    Function makeXorShift32

    \ No newline at end of file diff --git a/functions/mutex.html b/functions/mutex.html index 050c647..3427425 100644 --- a/functions/mutex.html +++ b/functions/mutex.html @@ -1,3 +1,3 @@ mutex | thingies

    Function mutex

    • Executes only one instance of give code at a time. For parallel calls, it returns the result of the ongoing execution.

      -

      Type Parameters

      • This
      • Args extends any[]
      • Return

      Parameters

      • fn: ((this, ...args) => Promise<Return>)
      • Optional context: ClassMethodDecoratorContext<This, ((this, ...args) => Promise<Return>)>

      Returns ((this, ...args) => Promise<Return>)

    \ No newline at end of file +

    Type Parameters

    • This
    • Args extends any[]
    • Return

    Parameters

    • fn: ((this, ...args) => Promise<Return>)
    • Optional context: ClassMethodDecoratorContext<This, ((this, ...args) => Promise<Return>)>

    Returns ((this, ...args) => Promise<Return>)

    \ No newline at end of file diff --git a/functions/normalizeEmail.html b/functions/normalizeEmail.html index 61ec2b2..7f1ef1e 100644 --- a/functions/normalizeEmail.html +++ b/functions/normalizeEmail.html @@ -10,4 +10,4 @@

    will be normalized to

    michalloler@gmail.com
     
    -

    Parameters

    • email: string

    Returns string

    \ No newline at end of file +

    Parameters

    • email: string

    Returns string

    \ No newline at end of file diff --git a/functions/of.html b/functions/of.html index 9239996..f48a1a4 100644 --- a/functions/of.html +++ b/functions/of.html @@ -5,4 +5,4 @@
  • Third entry is a boolean, truthy if promise was resolved and falsy if rejected.
  • Type Parameters

    • T
    • E = unknown

    Parameters

    • promise: Promise<T>

      Promise to convert to 3-tuple.

      -

    Returns Promise<[undefined | T, undefined | E, boolean]>

    \ No newline at end of file +

    Returns Promise<[undefined | T, undefined | E, boolean]>

    \ No newline at end of file diff --git a/functions/once.html b/functions/once.html index 3ba4c93..f8a4b37 100644 --- a/functions/once.html +++ b/functions/once.html @@ -1,3 +1,3 @@ once | thingies

    Function once

    • A class method decorator that limits a method to be called only once. All subsequent calls will return the result of the first call.

      -

      Type Parameters

      • This
      • Args extends any[]
      • Return

      Parameters

      • fn: ((this, ...args) => Return)
      • Optional context: ClassMethodDecoratorContext<This, ((this, ...args) => Return)>

      Returns ((this, ...args) => Return)

    \ No newline at end of file +

    Type Parameters

    • This
    • Args extends any[]
    • Return

    Parameters

    • fn: ((this, ...args) => Return)
    • Optional context: ClassMethodDecoratorContext<This, ((this, ...args) => Return)>

    Returns ((this, ...args) => Return)

    \ No newline at end of file diff --git a/functions/promiseMap.html b/functions/promiseMap.html index ac1b7e7..3a2ae78 100644 --- a/functions/promiseMap.html +++ b/functions/promiseMap.html @@ -1,3 +1,3 @@ promiseMap | thingies

    Function promiseMap

    • Creates promises of a list of values. Resolves all promises and returns an array of resolved values.

      -

      Parameters

      • values: any[]
      • onValue: ((value) => Promise<unknown>)
          • (value): Promise<unknown>
          • Parameters

            • value: unknown

            Returns Promise<unknown>

      • onError: ((error?, value?, index?) => void) = noop
          • (error?, value?, index?): void
          • Parameters

            • Optional error: unknown
            • Optional value: unknown
            • Optional index: number

            Returns void

      Returns Promise<any>

    \ No newline at end of file +

    Parameters

    • values: any[]
    • onValue: ((value) => Promise<unknown>)
        • (value): Promise<unknown>
        • Parameters

          • value: unknown

          Returns Promise<unknown>

    • onError: ((error?, value?, index?) => void) = noop
        • (error?, value?, index?): void
        • Parameters

          • Optional error: unknown
          • Optional value: unknown
          • Optional index: number

          Returns void

    Returns Promise<any>

    \ No newline at end of file diff --git a/functions/randomStr.html b/functions/randomStr.html index b0d1f99..40d11ee 100644 --- a/functions/randomStr.html +++ b/functions/randomStr.html @@ -1 +1 @@ -randomStr | thingies

    Function randomStr

    \ No newline at end of file +randomStr | thingies

    Function randomStr

    \ No newline at end of file diff --git a/functions/tick.html b/functions/tick.html index 73a40f7..ebe9d7a 100644 --- a/functions/tick.html +++ b/functions/tick.html @@ -1 +1 @@ -tick | thingies

    Function tick

    \ No newline at end of file +tick | thingies

    Function tick

    \ No newline at end of file diff --git a/functions/timeout.html b/functions/timeout.html index dcc774d..6c7e971 100644 --- a/functions/timeout.html +++ b/functions/timeout.html @@ -6,4 +6,4 @@

    Type Parameters

    • T

    Parameters

    • ms: number

      Number of milliseconds to wait before timing out.

    • code: Code<T> | Promise<T>

      Code block or promise to execute.

    Returns Promise<T>

    The result of the code block or promise.

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/functions/until.html b/functions/until.html index ea3ae38..c49fb50 100644 --- a/functions/until.html +++ b/functions/until.html @@ -1 +1 @@ -until | thingies

    Function until

    • Parameters

      • check: (() => boolean | Promise<boolean>)
          • (): boolean | Promise<boolean>
          • Returns boolean | Promise<boolean>

      • pollInterval: number = 1

      Returns Promise<void>

    \ No newline at end of file +until | thingies

    Function until

    • Parameters

      • check: (() => boolean | Promise<boolean>)
          • (): boolean | Promise<boolean>
          • Returns boolean | Promise<boolean>

      • pollInterval: number = 1

      Returns Promise<void>

    \ No newline at end of file diff --git a/functions/xorShift32.html b/functions/xorShift32.html index d80e1b2..b2b9bc0f 100644 --- a/functions/xorShift32.html +++ b/functions/xorShift32.html @@ -1 +1 @@ -xorShift32 | thingies

    Function xorShift32

    \ No newline at end of file +xorShift32 | thingies

    Function xorShift32

    \ No newline at end of file diff --git a/interfaces/CacheEntry.html b/interfaces/CacheEntry.html index 9a54644..fd28371 100644 --- a/interfaces/CacheEntry.html +++ b/interfaces/CacheEntry.html @@ -1,3 +1,3 @@ -CacheEntry | thingies

    Interface CacheEntry<T>

    interface CacheEntry<T> {
        t: number;
        value: T;
    }

    Type Parameters

    • T

    Properties

    t +CacheEntry | thingies

    Interface CacheEntry<T>

    interface CacheEntry<T> {
        t: number;
        value: T;
    }

    Type Parameters

    • T

    Properties

    Properties

    t: number
    value: T
    \ No newline at end of file +

    Properties

    t: number
    value: T
    \ No newline at end of file diff --git a/types/Code.html b/types/Code.html index 3a2c318..49c2588 100644 --- a/types/Code.html +++ b/types/Code.html @@ -1 +1 @@ -Code | thingies

    Type alias Code<T>

    Code<T>: (() => Promise<T>)

    Type Parameters

    • T = unknown

    Type declaration

      • (): Promise<T>
      • Returns Promise<T>

    \ No newline at end of file +Code | thingies

    Type alias Code<T>

    Code<T>: (() => Promise<T>)

    Type Parameters

    • T = unknown

    Type declaration

      • (): Promise<T>
      • Returns Promise<T>

    \ No newline at end of file diff --git a/types/FanOutListener.html b/types/FanOutListener.html index 5c5c542..2804ba5 100644 --- a/types/FanOutListener.html +++ b/types/FanOutListener.html @@ -1 +1 @@ -FanOutListener | thingies

    Type alias FanOutListener<D>

    FanOutListener<D>: ((data) => void)

    Type Parameters

    • D

    Type declaration

      • (data): void
      • Parameters

        • data: D

        Returns void

    \ No newline at end of file +FanOutListener | thingies

    Type alias FanOutListener<D>

    FanOutListener<D>: ((data) => void)

    Type Parameters

    • D

    Type declaration

      • (data): void
      • Parameters

        • data: D

        Returns void

    \ No newline at end of file diff --git a/types/FanOutUnsubscribe.html b/types/FanOutUnsubscribe.html index 1c51148..2ddaa34 100644 --- a/types/FanOutUnsubscribe.html +++ b/types/FanOutUnsubscribe.html @@ -1 +1 @@ -FanOutUnsubscribe | thingies

    Type alias FanOutUnsubscribe

    FanOutUnsubscribe: (() => void)

    Type declaration

      • (): void
      • Returns void

    \ No newline at end of file +FanOutUnsubscribe | thingies

    Type alias FanOutUnsubscribe

    FanOutUnsubscribe: (() => void)

    Type declaration

      • (): void
      • Returns void

    \ No newline at end of file