Skip to content

@sourceloop/feature-toggle / Exports / FeatureHandler

Interface: FeatureHandler

Typically an extension point defines an interface as the contract for extensions to implement

Table of contents

Properties

Methods

Properties

handlerName

handlerName: string

Defined in

packages/feature-toggle/src/types.ts:33

Methods

handle

handle(featureMetadata, currentUser): boolean

Parameters

Name Type
featureMetadata FeatureFlagMetadata
currentUser IAuthUserWithDisabledFeat

Returns

boolean

Defined in

packages/feature-toggle/src/types.ts:34