Skip to main content
Module

x/blocks/deps.ts>InstrumentationBase

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Extremely Popular
Go to Latest
class InstrumentationBase
implements [types.Instrumentation]
extends InstrumentationAbstract
Re-export
Abstract
import { InstrumentationBase } from "https://deno.land/x/blocks@1.48.7/deps.ts";

Base abstract class for instrumenting node plugins

Constructors

new
InstrumentationBase(
instrumentationName: string,
instrumentationVersion: string,
config?: types.InstrumentationConfig,
)

Type Parameters

optional
T = any

Properties

private
_enabled
private
_extractPackageVersion
private
_hooks
private
_modules
private
_onRequire
private
_requireInTheMiddleSingleton
private
_warnOnPreloadedModules
protected
_massUnwrap: massUnwrap
protected
_massWrap: massWrap
protected
_unwrap: unwrap
protected
_wrap: wrap

Methods

disable(): void
enable(): void
isEnabled(): boolean