import type { Context } from './Context'; import { IncomingContext } from '../messages/IncomingContext'; export interface PropertyHooks { onInitContextValue(propertyName: string, context: Context, data: IncomingContext): Promise | any; onBeforeSet(value: any, propertyName: string, set: (v: T) => void, context: Context, data: IncomingContext): Promise | void; onBeforeSend(value: any, propertyName: string, set: (v: T) => void, context: Context): Promise | void; onBeforeOblivion(value: any, propertyName: string, context: Context): Promise | void; // onDisconnected(value: any, propertyName: string, context: Context): Promise | void; }