mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-07 18:27:44 +02:00
Allow Use client from client-resources from NodeJS (#545)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -78,6 +78,10 @@ class ModelClient implements Client {
|
||||
transactions.push({ tx, result })
|
||||
return result
|
||||
}
|
||||
|
||||
async close (): Promise<void> {
|
||||
await this.client.close()
|
||||
}
|
||||
}
|
||||
export async function Hook (client: Client): Promise<Client> {
|
||||
console.info('devmodel# Client HOOKED by DevModel')
|
||||
|
||||
Reference in New Issue
Block a user