Type Alias EventBusSettings

EventBusSettings: {
    adapter: IEventBusAdapter;
    backoffPolicy?: BackoffPolicy | null;
    retryAttempts?: number | null;
    retryPolicy?: RetryPolicy | null;
    timeout?: TimeSpan | null;
}

IMPORT_PATH: "@daiso-tech/core/event-bus/implementations/derivables"

Type declaration

  • adapter: IEventBusAdapter
  • OptionalbackoffPolicy?: BackoffPolicy | null

    The default backof policy to use in the returned LazyPromise.

    {null}
    
  • OptionalretryAttempts?: number | null

    The default retry attempt to use in the returned LazyPromise.

    {null}
    
  • OptionalretryPolicy?: RetryPolicy | null

    The default retry policy to use in the returned LazyPromise.

    {null}
    
  • Optionaltimeout?: TimeSpan | null

    The default timeout to use in the returned LazyPromise.

    {null}