1
0
Fork 0
mirror of synced 2024-06-01 18:39:57 +12:00
appwrite/docs/examples/1.5.x/console-web/examples/health/get-queue-usage-dump.md
2024-03-08 10:38:19 +01:00

351 B

import { Client, Health } from "@appwrite.io/console";

const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID

const health = new Health(client);

const result = await health.getQueueUsageDump( null // threshold (optional) );

console.log(response);