@tai-kun/surrealdb
Version:
The SurrealDB SDK for JavaScript
5 lines • 344 B
TypeScript
/**
* [API Reference](https://tai-kun.github.io/surrealdb.js/v2/api/utils/mutex/)
*/
export default function mutex<TMethod extends (...args: any) => PromiseLike<any>>(method: TMethod, context: ClassMethodDecoratorContext): (this: any, ...args: Parameters<TMethod>) => Promise<Awaited<ReturnType<TMethod>>>;
//# sourceMappingURL=mutex.d.ts.map