Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface OperationOptions

Options available for Operation decorator.

Hierarchy

  • OperationOptions

Index

Properties

Optional contract

contract: string

Indicates the name of the target contract for this operation. This is required when the service has more than one contract.

Optional isOneWay

isOneWay: boolean

Indicates if the operation is one way. Default is false. One-way operations immediately return to the client without waiting for a result.

Optional name

name: string

The name of the operation. If not specified, defaults to the name of the method.

Optional timeout

timeout: number

Specifies the timeout for the operation. If not specified, defaults to the timeout for the service.

Generated using TypeDoc