Options
All
  • Public
  • Public/Protected
  • All
Menu

Kalix service.

param options

the options for starting the service

Hierarchy

  • Kalix

Index

Properties

discoveryCompleted: boolean = false

Constructors

Methods

  • setProxyPort(port: number): void
  • Set the port that the proxy is running on, for calls from the SDK to the proxy. Used by the testkit.

    Parameters

    • port: number

    Returns void

  • Add one or more components to this Kalix service.

    Parameters

    • Rest ...components: Component[]

      the components to add

    Returns Kalix

    this Kalix service

  • Start the Kalix service.

    Parameters

    • Optional binding: ServiceBinding

      optional address/port binding to start the service on

    Returns Promise<number>

    a Promise of the bound port for this service

  • shutdown(): void
  • tryShutdown(callback: ((error?: Error) => void)): void
  • Shut down the Kalix service.

    Parameters

    • callback: ((error?: Error) => void)

      shutdown callback, accepting possible error

        • (error?: Error): void
        • Parameters

          • Optional error: Error

          Returns void

    Returns void

Generated using TypeDoc