Skip to main content

ClusterServiceParameters

@webda/runtime • Readme | API


Class: ClusterServiceParameters

Extends​

  • ServiceParameters

Constructors​

new ClusterServiceParameters(params)​

new ClusterServiceParameters(params): ClusterServiceParameters

Parameters​

• params: any

Returns​

ClusterServiceParameters

Overrides​

ServiceParameters.constructor

Source​

runtime/src/services/cluster.ts:73

Properties​

keepAlive​

keepAlive: number

Default​

30000

Source​

runtime/src/services/cluster.ts:59


openapi?​

openapi?: OpenAPIWebdaDefinition

OpenAPI override

Schema Ignore​

Inherited from​

ServiceParameters.openapi

Source​

core/lib/services/service.d.ts:103


pubsub​

pubsub: string

Default​

PubSub

Source​

runtime/src/services/cluster.ts:51


ttl​

ttl: number

Default​

twice keepAlive

Source​

runtime/src/services/cluster.ts:55


type​

type: string

Type of the service

Inherited from​

ServiceParameters.type

Source​

core/lib/services/service.d.ts:94


unsyncCodeAlert?​

unsyncCodeAlert?: boolean

Display code alert when code is out of sync

Can be disabled by setting it to false - in case different code is subscribing to the same pubsub

If undefined it will display the alert only once

true will force it to display every time

Param​

Source​

runtime/src/services/cluster.ts:71


url?​

url?: string

URL on which to serve the content

Inherited from​

ServiceParameters.url

Source​

core/lib/services/service.d.ts:98