@mark1russell7/service 0.6.2 → 0.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/README.md +90 -4
  2. package/build/{builder-0OlfomVU.d.ts → builder-bXJqMe2p.d.ts} +3 -2
  3. package/build/{core-Iy9rIXOT.d.ts → core-B1zbS4WY.d.ts} +4 -3
  4. package/build/{dial-DLT7bTlA.d.ts → dial-CSGKVlZe.d.ts} +2 -2
  5. package/build/grpc.d.ts +3 -3
  6. package/build/grpc.js +1 -1
  7. package/build/host.d.ts +556 -0
  8. package/build/host.js +1738 -0
  9. package/build/host.js.map +1 -0
  10. package/build/http-client.d.ts +3 -3
  11. package/build/http-client.js +1 -1
  12. package/build/http.d.ts +1 -1
  13. package/build/index.d.ts +4 -3
  14. package/build/index.js +5 -749
  15. package/build/index.js.map +1 -1
  16. package/build/lifecycle-Ks9Yd5CM.d.ts +387 -0
  17. package/build/{lifecycle-DXK880vG.d.ts → logger-DhFgh48y.d.ts} +2 -385
  18. package/build/{machine-Dq2OlzCG.js → machine-DKWLZOqu.js} +3 -2
  19. package/build/{machine-Dq2OlzCG.js.map → machine-DKWLZOqu.js.map} +1 -1
  20. package/build/mongodb.d.ts +3 -3
  21. package/build/mongodb.js +1 -1
  22. package/build/operation-DL5RxFds.js +25 -0
  23. package/build/operation-DL5RxFds.js.map +1 -0
  24. package/build/pg.d.ts +2 -2
  25. package/build/pg.js +1 -1
  26. package/build/ports-CZLzYK5d.d.ts +125 -0
  27. package/build/process-DG_im2zc.js +171 -0
  28. package/build/process-DG_im2zc.js.map +1 -0
  29. package/build/{queue-CvBNNZZJ.d.ts → queue-BjiGodqh.d.ts} +3 -2
  30. package/build/rabbitmq.d.ts +4 -4
  31. package/build/rabbitmq.js +1 -1
  32. package/build/redis.d.ts +2 -2
  33. package/build/redis.js +1 -1
  34. package/build/requests-BIq9Tr4P.js +586 -0
  35. package/build/requests-BIq9Tr4P.js.map +1 -0
  36. package/build/{retrier-CRda6z9G.js → retrier-Bzkme_yM.js} +2 -24
  37. package/build/retrier-Bzkme_yM.js.map +1 -0
  38. package/build/testing.d.ts +136 -4
  39. package/build/testing.js +485 -13
  40. package/build/testing.js.map +1 -1
  41. package/build/websocket.d.ts +3 -3
  42. package/build/websocket.js +1 -1
  43. package/package.json +7 -2
  44. package/build/retrier-CRda6z9G.js.map +0 -1
@@ -1,4 +1,3 @@
1
- import { n as Clock } from "./clock-mVqhXD0b.js";
2
1
  import { o as Limiter } from "./policy-G4QJ1ZZq.js";
3
2
  import { Extent, Quantity } from "@mark1russell7/quantity";
4
3
  //#region src/operation.d.ts
@@ -429,35 +428,6 @@ interface LifecycleEvent {
429
428
  /** A recorder receives each lifecycle event. */
430
429
  type Recorder = (event: LifecycleEvent) => void;
431
430
  //#endregion
432
- //#region src/latch.d.ts
433
- /**
434
- * An outcome is the result of one poll of a check. Only `"ok"` passes. An `"indeterminate"`
435
- * outcome measured nothing: it does not pass, and it does not fail.
436
- */
437
- type Outcome = "ok" | "error" | "indeterminate";
438
- /** A result is one poll of a check, as the runtime records it. */
439
- interface Result {
440
- readonly outcome: Outcome;
441
- /** This time is when the result came, on the monotonic clock, in milliseconds. */
442
- readonly at: number;
443
- /** This time is how long the poll took, in milliseconds. */
444
- readonly took: number;
445
- /** This text tells why the poll did not pass, or it is null. */
446
- readonly cause: string | null;
447
- /** This flag tells if the poll failed at its timeout. */
448
- readonly timedOut: boolean;
449
- /** This flag tells if the check threw. A throw is an error with a flag. */
450
- readonly thrown: boolean;
451
- /** This flag tells if the force-fail list made the poll fail. */
452
- readonly forced: boolean;
453
- }
454
- /**
455
- * A trace receives each transition of a machine of the runtime: the state before, the state after,
456
- * and the event. The machine documents of the lifecycle name the same states and events, thus a
457
- * test can replay a trace against its document.
458
- */
459
- type Trace = (from: string, to: string, on: string) => void;
460
- //#endregion
461
431
  //#region src/logger.d.ts
462
432
  /** These are the levels of a log entry, from the least to the most severe. */
463
433
  declare const LOG_LEVELS: readonly ["debug", "info", "warn", "error"];
@@ -513,358 +483,5 @@ declare const consoleLogger: (options?: ConsoleLoggerOptions) => Logger;
513
483
  */
514
484
  declare const logEvents: (logger: Logger, description?: ServiceDescription) => Recorder;
515
485
  //#endregion
516
- //#region src/metrics.d.ts
517
- /**
518
- * A histogram of durations counts the polls of a check by how long each one took (B18). Each bound
519
- * is a fraction of the timeout of the poll, thus the last bound is the timeout. A poll that failed
520
- * at its timeout goes into `timedOut`, not into a bucket. Thus the histogram marks the timeouts.
521
- */
522
- interface DurationHistogram {
523
- /** These bounds are in milliseconds, from the smallest. A bucket counts each poll that took more than the bound before it, up to its own bound. */
524
- readonly le: readonly number[];
525
- /** These counts are not cumulative: one count for each bound. */
526
- readonly counts: readonly number[];
527
- readonly timedOut: number;
528
- }
529
- /** An episode of failure starts at the first error of a sequence, and ends at the next pass (B18). */
530
- interface Episode {
531
- /** This time is the first error, in milliseconds on the monotonic clock. */
532
- readonly start: number;
533
- /** This time is the pass that ended the episode, or null while the episode continues. */
534
- readonly end: number | null;
535
- /** This count is the polls that failed in the episode. */
536
- readonly failures: number;
537
- /** This cause is the cause of the first error, with each secret removed. */
538
- readonly cause: string | null;
539
- }
540
- /** The metrics of one check: the count of each outcome, its durations and its last episodes. */
541
- interface CheckMetrics {
542
- readonly outcomes: {
543
- readonly ok: number;
544
- readonly error: number;
545
- readonly indeterminate: number;
546
- };
547
- readonly thrown: number;
548
- readonly forced: number;
549
- readonly durations: DurationHistogram;
550
- /** These are the last episodes, from the oldest. The runtime keeps `EPISODES_KEPT` of them. */
551
- readonly episodes: readonly Episode[];
552
- }
553
- /** The metrics of a health runtime. Nothing in them starts a check. */
554
- interface HealthMetrics {
555
- readonly checks: Readonly<Record<string, CheckMetrics>>;
556
- /** Each count is the transitions of one machine of the runtime, by the key `machine instance from -> to`. */
557
- readonly transitions: Readonly<Record<string, number>>;
558
- }
559
- /** These fractions of the timeout of a poll are the bounds of its histogram. */
560
- declare const DURATION_FRACTIONS: readonly number[];
561
- /** The runtime keeps this many episodes of each check. */
562
- declare const EPISODES_KEPT = 8;
563
- /**
564
- * This function removes the secrets that a cause can hold. These are the user and the password of a
565
- * URL, and the value of a key, for example `password=`. A driver error can hold a connection string.
566
- */
567
- declare const redact: (cause: string) => string;
568
- //#endregion
569
- //#region src/poller.d.ts
570
- /**
571
- * A check function measures one step of a connection. It ends with nothing or `"ok"` for a pass,
572
- * or with `"error"` or `"indeterminate"`. A throw is an error with a flag. The runtime aborts the
573
- * signal at the timeout of the poll.
574
- */
575
- type CheckFn = (signal: AbortSignal) => Outcome | void | Promise<Outcome | void>;
576
- //#endregion
577
- //#region src/health.d.ts
578
- /** These options start the runtime. Without them, it uses the real clock and `Math.random`. */
579
- interface StartOptions {
580
- readonly clock?: Clock | undefined;
581
- /** This function gives a number in [0, 1) for the jitter of each poll. */
582
- readonly random?: (() => number) | undefined;
583
- /** This list names the checks or dependencies whose polls fail at once (a seam for tests). */
584
- readonly forceFail?: readonly string[] | undefined;
585
- /** This function receives each transition of each machine of the runtime. */
586
- readonly record?: Recorder | undefined;
587
- /**
588
- * This logger receives each transition too, as a log entry with a level and fields (`logEvents`).
589
- * Without it, the runtime writes no log, as before. For the console, give `consoleLogger()`.
590
- */
591
- readonly logger?: Logger | undefined;
592
- /**
593
- * This function can replace the function of a check, for example to add a delay to each call
594
- * (a seam for tests: a degraded dependency). It gives the function to use.
595
- */
596
- readonly wrapCheck?: ((check: Check, run: CheckFn) => CheckFn) | undefined;
597
- }
598
- /** A check verdict is the cached state of one check, for the probes and the report. */
599
- interface CheckVerdict {
600
- readonly gates: Gate | null;
601
- readonly dependency: string | null;
602
- /** This flag tells if the latch of the check is tripped, or it is null for a check that only reports. */
603
- readonly tripped: boolean | null;
604
- readonly streak: number;
605
- /** This time is when the latch last changed, in milliseconds on the monotonic clock. */
606
- readonly since: number | null;
607
- readonly last: Result | null;
608
- }
609
- /** A verdict is the state of the service, from its cache. Nothing in it starts a check. */
610
- interface HealthVerdict {
611
- /** This flag becomes true one time, after the warm-up sweep. */
612
- readonly started: boolean;
613
- readonly draining: boolean;
614
- /** This flag tells if the service can take new work: started, not draining, and each readiness latch released. */
615
- readonly ready: boolean;
616
- /** This flag tells if each liveness latch is released. */
617
- readonly alive: boolean;
618
- /** These flags tell if each controller can take new work, from the dependencies that it needs. */
619
- readonly controllers: Readonly<Record<string, boolean>>;
620
- readonly dependencies: Readonly<Record<string, boolean>>;
621
- readonly checks: Readonly<Record<string, CheckVerdict>>;
622
- readonly startup: {
623
- readonly budget: number;
624
- readonly elapsed: number;
625
- readonly overBudget: boolean;
626
- };
627
- }
628
- /** A probe kind is the question that a probe asks: the startup, the readiness, the liveness, or the whole report. */
629
- type ProbeKind = "startup" | "readiness" | "liveness" | "report";
630
- /** A probe answer is a status and a body, for any HTTP framework or none. */
631
- interface ProbeAnswer {
632
- readonly status: 200 | 503;
633
- readonly contentType: "application/health+json";
634
- readonly body: {
635
- readonly status: "pass" | "fail";
636
- readonly service: string;
637
- readonly probe: ProbeKind;
638
- readonly controller?: string | undefined;
639
- readonly verdict?: HealthVerdict | undefined;
640
- };
641
- }
642
- /** The health runtime of a started service. It reads its timing and its checks from the declaration. */
643
- interface Health {
644
- verdict(): HealthVerdict;
645
- /**
646
- * This method answers a probe from the cache, in constant time, and it starts no check. A
647
- * readiness probe with a controller asks about that controller. The report always answers 200.
648
- */
649
- probe(kind: ProbeKind, controller?: string): ProbeAnswer;
650
- /**
651
- * This method gives the counts of the runtime (B18). They are the outcomes, the durations and the
652
- * episodes of failure of each check, and the transitions of its machines. It starts no check.
653
- */
654
- metrics(): HealthMetrics;
655
- /** This method gives each change of the verdict to `listener`, and gives the function that stops it. */
656
- subscribe(listener: (verdict: HealthVerdict) => void): () => void;
657
- /** This method adds a name to the force-fail list, or removes it. */
658
- forceFail(name: string, on: boolean): void;
659
- /** This method fails readiness for good. The drain of the lifecycle starts with it. */
660
- drain(): void;
661
- /** This method stops each poller and each timer of the runtime. */
662
- stop(): void;
663
- }
664
- //#endregion
665
- //#region src/requests.d.ts
666
- /**
667
- * A request end is the one final result of the stream of a request. Its count `delivered` is the
668
- * number of items that the stream gave before it. An end after the first item is in-band. The
669
- * transport sent its answer, thus it writes the end as the last line of the stream, not as a status.
670
- * - `done`: the work gave each of its items.
671
- * - `failed`: the work failed for a cause of its own. Before the first item, the adapter answers it
672
- * as it answers any error of the route.
673
- * - `refused`: the service did not admit the request. A refused request did not start, thus its
674
- * caller can send it again: 503, retryable.
675
- * - `cut`: the shutdown stopped the request. Before the first item, a route whose callers can send
676
- * it again answers 503, retryable, and each other route answers 500. After the first item, the
677
- * status is null, and the end is in-band.
678
- */
679
- type RequestEnd = {
680
- readonly kind: "done";
681
- readonly delivered: number;
682
- } | {
683
- readonly kind: "failed";
684
- readonly error: unknown;
685
- readonly delivered: number;
686
- } | {
687
- readonly kind: "refused";
688
- readonly status: 503;
689
- readonly retryable: true;
690
- readonly cause: string;
691
- readonly delivered: 0;
692
- } | {
693
- readonly kind: "cut";
694
- readonly status: 503 | 500 | null;
695
- readonly retryable: boolean;
696
- readonly cause: string;
697
- readonly delivered: number;
698
- };
699
- /** A request event is one event of the stream of a request: an item, or the one end, which comes last. */
700
- type RequestEvent<T> = {
701
- readonly kind: "item";
702
- readonly value: T;
703
- } | RequestEnd;
704
- /**
705
- * A request stream is what a request comes to: its items, then one end. A unary work gives a stream
706
- * of one item. The stream gives an item only when its reader asks for the next event. Thus a slow
707
- * reader slows the work, and the request stays in flight until the work ends. When the reader
708
- * stops before the end, the work gets its abort and the `return()` of its iterator.
709
- */
710
- interface RequestStream<T> extends AsyncIterable<RequestEvent<T>> {
711
- /** This method reads the whole stream, and gives its items and its end. */
712
- collect(): Promise<{
713
- readonly items: readonly T[];
714
- readonly end: RequestEnd;
715
- }>;
716
- }
717
- /**
718
- * A request work is what a request function gives: one value, or a stream of values. A work that
719
- * gives an async iterable is a stream, also through a promise. Each other value is a stream of one.
720
- */
721
- type RequestWork<T> = T | PromiseLike<T> | AsyncIterable<T> | PromiseLike<AsyncIterable<T>>;
722
- /** A request function does the work of one request. It receives a signal that the shutdown aborts. */
723
- type RequestFn<T> = (signal: AbortSignal) => RequestWork<T>;
724
- /** These options go with one request. */
725
- interface RequestOptions {
726
- /** This value goes to the function of a route pattern, for example the metadata of a procedure. */
727
- readonly detail?: unknown;
728
- }
729
- //#endregion
730
- //#region src/lifecycle.d.ts
731
- /**
732
- * A transport is a source of work: a server, a consumer or a worker. Each has one contract. It
733
- * starts, stops its intake, and drains to a deadline without a throw. It counts its work in flight,
734
- * and it closes. A second close has no effect.
735
- */
736
- interface TransportImpl {
737
- /**
738
- * This method starts the transport. The lifecycle is the object that `run()` gives at the end of
739
- * the startup. Its request tracking operates from the start: a request before the startup ends
740
- * gets a retryable refusal, and `keepAlive()` is false. Do not wait for `life.started` here,
741
- * because the startup waits for this method.
742
- */
743
- start(signal: AbortSignal, life: Lifecycle): Promise<void> | void;
744
- stopIntake(): Promise<void> | void;
745
- /**
746
- * This method lets the work in flight end until `deadline` (milliseconds on the monotonic
747
- * clock). The signal is the cooperative abort, which comes before the deadline.
748
- */
749
- drain(deadline: number, signal: AbortSignal): Promise<void> | void;
750
- inFlight(): number;
751
- close(): Promise<void> | void;
752
- }
753
- /** A dependency handle connects to a dependency at the start, and closes the connection at the end. */
754
- interface DependencyHandle {
755
- connect(signal: AbortSignal): Promise<void> | void;
756
- close(): Promise<void> | void;
757
- }
758
- /**
759
- * A health server answers the probes, on its own port. It starts first, thus the probes answer
760
- * while the dependencies connect, and it closes last.
761
- */
762
- interface HealthServer {
763
- listen(health: Health): Promise<void> | void;
764
- close(): Promise<void> | void;
765
- }
766
- /** A phase context is what a phase gives its work: its deadline, its signal and the clock. */
767
- interface PhaseContext {
768
- /** This time is the end of the cap of the phase, in milliseconds on the monotonic clock. */
769
- readonly deadline: number;
770
- /** This signal aborts at the end of the cap of the phase. */
771
- readonly signal: AbortSignal;
772
- readonly clock: Clock;
773
- }
774
- /** A phase work is a step of the shutdown that an owner adds to a phase. */
775
- type PhaseWork = (context: PhaseContext) => Promise<void> | void;
776
- /**
777
- * These are the stages of the shutdown, in their sequence. A declared phase with one of these
778
- * names gets the work of the runtime for its stage. A phase with another name gets only the work of
779
- * its owners.
780
- * - `fail readiness`: readiness fails at the start of the shutdown. This phase then holds for its
781
- * cap, while the endpoints of the platform remove the service.
782
- * - `stop intake`: each transport stops its intake, and new requests get a retryable 503.
783
- * - `drain`: the transports and the requests in flight end, until the cap. The cooperative abort
784
- * comes before the end of the cap, by the cooperative window.
785
- * - `close transports`: each transport closes.
786
- * - `stop the poller`: each check and watchdog stops. Then the signal of the service aborts.
787
- * - `tear down dependencies`: each dependency closes, in the reverse sequence of its connection.
788
- * - `close the health server`: the probes stop.
789
- * - `flush the output`: the work of the owners of this phase ends, and then the process port
790
- * writes the buffered output. Without this phase, the process exits without a wait.
791
- */
792
- declare const STAGES: readonly ["fail readiness", "stop intake", "drain", "close transports", "stop the poller", "tear down dependencies", "close the health server", "flush the output"];
793
- type Stage = (typeof STAGES)[number];
794
- /** This function gives the place of a stage in the sequence, or -1 for a phase of another name. */
795
- declare const stageRank: (name: string) => number;
796
- /**
797
- * This function gives the time of the cooperative abort, in milliseconds after the drain starts. It
798
- * is the cap less the cooperative window. With the floor `half`, it is not less than half the cap,
799
- * and a window without a bound gives half the cap. With the floor `none`, it is not less than 0.
800
- */
801
- declare const cooperativeAbortAt: (cap: number, window: Extent, floor?: CooperativeFloor) => number;
802
- /**
803
- * These options make each error that no code caught a trigger of the shutdown. They are an uncaught
804
- * exception and an unhandled rejection.
805
- */
806
- interface UncaughtOptions {
807
- /** This code is the exit code after an uncaught error, a whole number from 0 to 255. The default is 1. */
808
- readonly exitCode?: number | undefined;
809
- /**
810
- * This function tells if the runtime skips an error, for example an `ECONNRESET` of a peer socket.
811
- * The logger gets a skipped error at `warn`, and the service continues. A throw of this function skips nothing.
812
- */
813
- readonly ignore?: ((error: unknown, origin: UncaughtOrigin) => boolean) | undefined;
814
- }
815
- /** These options run the lifecycle. Without them, it uses the real clock and the process of Node. */
816
- interface RunOptions extends StartOptions {
817
- readonly process?: ProcessPort | undefined;
818
- /**
819
- * With these options, the lifecycle adds a handler for the errors that no code caught, from its start
820
- * to its exit. Each error that it does not skip is an error of the lifecycle at `error`. It then
821
- * starts the shutdown with its exit code, as a signal does. Without them, the runtime adds no handler.
822
- */
823
- readonly uncaught?: UncaughtOptions | undefined;
824
- }
825
- /** These options go with a request for the shutdown. */
826
- interface ShutdownOptions {
827
- /**
828
- * This code is the exit code that the work of the process gives, a whole number from 0 to 255. The
829
- * first exit request with a code sets it. A code of 0 lets an error make the exit code 1.
830
- */
831
- readonly code?: number | undefined;
832
- }
833
- /** A lifecycle state tells where the service is in its life. */
834
- type LifecycleState = "starting" | "running" | "draining" | "exited";
835
- /** The lifecycle of a running service. */
836
- interface Lifecycle {
837
- readonly health: Health;
838
- readonly state: LifecycleState;
839
- /** This code is the exit code, or null before the exit. */
840
- readonly exitCode: number | null;
841
- /** These texts are the errors of the lifecycle. An error makes the exit code 1, unless an exit request gives another code. */
842
- readonly errors: readonly string[];
843
- /** This promise ends when the startup ends: the service runs, or its startup failed. */
844
- readonly started: Promise<void>;
845
- /** This promise gives the exit code when the shutdown ends. */
846
- readonly done: Promise<number>;
847
- /** This signal aborts after the poller stops: the background work of the service stops with it. */
848
- readonly signal: AbortSignal;
849
- /**
850
- * This method asks for the shutdown, as an exit signal does. A second request does not start a
851
- * second shutdown. It can give the exit code, when no request gave one before.
852
- */
853
- shutdown(cause?: string, options?: ShutdownOptions): Promise<number>;
854
- /**
855
- * This method does one request of a controller, on a route or a route pattern that the controller
856
- * declares. It gives the stream of the request: each item of the work, then one end. The service
857
- * refuses the request while it cannot take new work, and the shutdown can cut it. An undeclared
858
- * route throws, because it has no idempotency.
859
- */
860
- request<T>(controller: string, route: string, work: RequestFn<T>, options?: RequestOptions): RequestStream<T>;
861
- inFlight(controller?: string): number;
862
- /**
863
- * This method tells if a response can keep its connection open. It is false while the service is
864
- * not ready, thus each response then closes its connection.
865
- */
866
- keepAlive(): boolean;
867
- }
868
- //#endregion
869
- export { Controller as $, DurationHistogram as A, MessageShape as At, LogFormat as B, isMessageShape as Bt, HealthVerdict as C, RoutePattern as Ct, CheckFn as D, ExitSignal as Dt, StartOptions as E, EmbeddedProcess as Et, ConsoleLoggerOptions as F, UNCAUGHT_ORIGINS as Ft, logEvents as G, Operation as Gt, Logger as H, nodeProcess as Ht, ConsoleTarget as I, UncaughtOrigin as It, Trace as J, Outcome as K, mayReissue as Kt, LOG_LEVELS as L, embeddedProcess as Lt, Episode as M, ProcessHost as Mt, HealthMetrics as N, ProcessPort as Nt, CheckMetrics as O, ExitTrigger as Ot, redact as P, ProcessTrigger as Pt, Check as Q, LogEntry as R, isExitCode as Rt, Health as S, OperationOf as St, ProbeKind as T, EXIT_SIGNALS as Tt, atLeast as U, processPortOf as Ut, LogLevel as V, matchesMessage as Vt, consoleLogger as W, Idempotency as Wt, MachineName as X, LifecycleEvent as Y, Recorder as Z, RequestFn as _, asDebounce as _t, PhaseContext as a, Gate as at, RequestWork as b, heartbeatDetection as bt, STAGES as c, ProgressMarks as ct, TransportImpl as d, Step as dt, CooperativeFloor as et, UncaughtOptions as f, Transport as ft, RequestEvent as g, Timing as gt, RequestEnd as h, Span as ht, LifecycleState as i, FORMAT as it, EPISODES_KEPT as j, PROCESS_TRIGGERS as jt, DURATION_FRACTIONS as k, HostStream as kt, ShutdownOptions as l, RepeatSignal as lt, stageRank as m, Poll as mt, HealthServer as n, Dependency as nt, PhaseWork as o, MessageTrigger as ot, cooperativeAbortAt as p, FailsBy as pt, Result as q, Lifecycle as r, ExitCodes as rt, RunOptions as s, Phase as st, DependencyHandle as t, Coupling as tt, Stage as u, ServiceDescription as ut, RequestOptions as v, asWindow as vt, ProbeAnswer as w, RouteRequest as wt, CheckVerdict as x, recoverSpan as xt, RequestStream as y, failSpan as yt, LogFields as z, isExitSignal as zt };
870
- //# sourceMappingURL=lifecycle-DXK880vG.d.ts.map
486
+ export { UncaughtOrigin as $, FailsBy as A, RoutePattern as B, MessageTrigger as C, ServiceDescription as D, RepeatSignal as E, asWindow as F, ExitTrigger as G, EXIT_SIGNALS as H, failSpan as I, PROCESS_TRIGGERS as J, HostStream as K, heartbeatDetection as L, Span as M, Timing as N, Step as O, asDebounce as P, UNCAUGHT_ORIGINS as Q, recoverSpan as R, Gate as S, ProgressMarks as T, EmbeddedProcess as U, RouteRequest as V, ExitSignal as W, ProcessPort as X, ProcessHost as Y, ProcessTrigger as Z, CooperativeFloor as _, LogFields as a, nodeProcess as at, ExitCodes as b, Logger as c, Operation as ct, logEvents as d, embeddedProcess as et, LifecycleEvent as f, Controller as g, Check as h, LogEntry as i, matchesMessage as it, Poll as j, Transport as k, atLeast as l, mayReissue as lt, Recorder as m, ConsoleTarget as n, isExitSignal as nt, LogFormat as o, processPortOf as ot, MachineName as p, MessageShape as q, LOG_LEVELS as r, isMessageShape as rt, LogLevel as s, Idempotency as st, ConsoleLoggerOptions as t, isExitCode as tt, consoleLogger as u, Coupling as v, Phase as w, FORMAT as x, Dependency as y, OperationOf as z };
487
+ //# sourceMappingURL=logger-DhFgh48y.d.ts.map
@@ -1,4 +1,5 @@
1
- import { n as retrierOn, r as mayReissue } from "./retrier-CRda6z9G.js";
1
+ import { t as mayReissue } from "./operation-DL5RxFds.js";
2
+ import { n as retrierOn } from "./retrier-Bzkme_yM.js";
2
3
  import { quantity, valueIn } from "@mark1russell7/quantity";
3
4
  import { connect } from "node:net";
4
5
  //#region src/client/meets.ts
@@ -552,4 +553,4 @@ const closeTimer = () => ({
552
553
  //#endregion
553
554
  export { retrySchedule as A, zeroProblems as B, notSent as C, readyWait as D, poolProblems as E, timeProblems as F, immediate as G, NEVER as H, trackWithTimer as I, keepaliveSilent as J, keepaliveAnswered as K, wholeProblems as L, sendWithReissue as M, socketEnds as N, retryBackoff as O, stepChecks as P, withinBound as R, ms as S, orZero as T, WHAT as U, MANIFESTATIONS as V, firstDetector as W, unwatched as X, kernelGiveUp as Y, inFlight as _, helloDial as a, message as b, ageProblems as c, clientProblems as d, clientRecorder as f, idleCloseProblem as g, finiteMs as h, authority as i, roundTripCheck as j, retryProblems as k, attachClient as l, dialCheck as m, closeTimer as n, statusLineJudge as o, deadlineProblem as p, keepaliveReset as q, transition as r, STARTING_POLL as s, clientKnob as t, clientBounds as u, keepaliveOnProblems as v, operationTable as w, missesProblems as x, localStateCheck as y, wrapperTimerProblems as z };
554
555
 
555
- //# sourceMappingURL=machine-Dq2OlzCG.js.map
556
+ //# sourceMappingURL=machine-DKWLZOqu.js.map