@zuplo/runtime 5.1826.0 → 5.1828.0

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.
package/index.d.ts CHANGED
@@ -409,6 +409,22 @@ export declare class AWSLoggingPlugin extends LogPlugin {
409
409
  getTransport(): LogTransport;
410
410
  }
411
411
 
412
+ export declare class BackgroundDispatcher<TPayload> {
413
+ #private;
414
+ constructor(dispatcher: DispatchFunction<TPayload>, options: BatchDispatcherOptions);
415
+ enqueue: (payload: TPayload) => void;
416
+ }
417
+
418
+ export declare class BackgroundLoader<T = unknown> {
419
+ #private;
420
+ constructor(loader: BackgroundLoaderFunction<T>, ttlSeconds: number);
421
+ get(key: string): Promise<T>;
422
+ }
423
+
424
+ declare interface BackgroundLoaderFunction<T> {
425
+ (key: string): Promise<T>;
426
+ }
427
+
412
428
  /**
413
429
  * @beta
414
430
  */
@@ -485,6 +501,13 @@ export declare interface BasicAuthInboundPolicyOptions {
485
501
  allowUnauthenticatedRequests?: boolean;
486
502
  }
487
503
 
504
+ /* Excluded from this release type: BatchDispatch */
505
+
506
+ declare interface BatchDispatcherOptions {
507
+ msDelay: number;
508
+ name?: string;
509
+ }
510
+
488
511
  /* Excluded from this release type: BuildEnvironment */
489
512
 
490
513
  declare interface BuildRouteConfiguration {
@@ -925,6 +948,8 @@ export declare interface DevPortalRuntimeConfig {
925
948
  sitePathname: string;
926
949
  }
927
950
 
951
+ /* Excluded from this release type: DispatchFunction */
952
+
928
953
  declare interface DynaTraceLoggingOptions {
929
954
  url: string;
930
955
  apiToken: string;