Skip to content

ChainGraph API Documentation / @badaitech/chaingraph-types / getPortUpdateHandlers

Function: getPortUpdateHandlers() ​

getPortUpdateHandlers(target): Record<string, PortUpdateConfig>

Defined in: packages/chaingraph-types/src/decorator/port-update.decorator.ts:62

Retrieve port update handlers for a class

Parameters ​

target ​

any

The class constructor

Returns ​

Record<string, PortUpdateConfig>

Map of port keys to port update handlers

Licensed under BUSL-1.1