UNPKG

@abaplint/runtime

Version:
13 lines (12 loc) 488 B
import { ABAPObject } from "./types"; export type ABAPEventReference = { EVENT_NAME: string; EVENT_CLASS: string; }; type HandlerMethod = (parameters?: any) => Promise<void>; export declare class ABAPEventing { private readonly registrations; setHandler(event: ABAPEventReference, methods: HandlerMethod[], forObject: ABAPObject | "ALL", activation: boolean): any; raiseEvent(event: ABAPEventReference, me: ABAPObject, parameters: object): Promise<void>; } export {};