MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / #clone

Method #clone

apps/coordinator/src/backoff.ts:44–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 }
43
44 #clone() {
45 return new ExponentialBackoff(this.#type, {
46 base: this.#base,
47 factor: this.#factor,
48 min: this.#min,
49 max: this.#max,
50 maxRetries: this.#maxRetries,
51 maxElapsed: this.#maxElapsed,
52 });
53 }
54
55 type(type?: ExponentialBackoffType) {
56 if (typeof type !== "undefined") {

Callers 8

typeMethod · 0.95
baseMethod · 0.95
factorMethod · 0.95
minMethod · 0.95
maxMethod · 0.95
maxRetriesMethod · 0.95
maxElapsedMethod · 0.95
retriesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected