Skip to content

Module.instrument() method

Home > @rimitive/core > Module > instrument

Optional: wrap impl for debugging/profiling when instrumentation is enabled

Signature:

instrument?(impl: TImpl, instrumentation: InstrumentationContext, ctx: ServiceContext): TImpl;

Parameter

Type

Description

impl

TImpl

instrumentation

InstrumentationContext

ctx

ServiceContext

Returns:

TImpl