Skip to main content
Version: 2.x.x

interceptEmitter


import { interceptEmitter } from "@hyper-fetch/sockets"

Description

Defined in socket/socket.utils.ts:32

Preview

interceptEmitter<EmitterType>(interceptors, emitter)

Parameters

NameDetails

interceptors

Required

SendCallbackType<EmitterType>[]

emitter

Required

EmitterType

Returns

EmitterType