Skip to main content
Version: Latest (0.60.x)

[F] $service

function $service(ctx, target): void

Decorate an interface as a service, indicating that it represents a Protobuf service declaration.

Parameters

ParameterTypeDescription
ctxDecoratorContextdecorator context
targetInterfacethe decorated interface

Returns

void