Skip to content

createScopeTap

Create a tap for Scope context interface.

import { createScopeTap } from "@alloy-js/core";
function createScopeTap<TScope extends OutputScope = OutputScope>(handler?: TapHandler<TScope>): Tap<TScope>;

Parameters

handleroptional

TapHandler<TScope>

Returns

Tap<TScope>