UNPKG

nukak

Version:

flexible and efficient ORM, with declarative JSON syntax and smart type-safety

7 lines (6 loc) 411 B
/** * Decorator that ensures the decorated method is executed serially within the Querier instance. * It uses a private promise queue to prevent race conditions on the database connection. * Note: The decorated class must extend AbstractQuerier or implement a compatible serialize method. */ export declare function Serialized(): (_target: object, _key: string, propDescriptor: PropertyDescriptor) => void;