Add Event Emitter

This commit is contained in:
2026-08-12 18:48:50 +00:00
committed by Kuldeep
parent 6a1313c113
commit 0fc1eb7aec
8 changed files with 1144 additions and 7 deletions
+9
View File
@@ -0,0 +1,9 @@
/**
* Error thrown when a waitFor timeout is reached
*/
export class WaitForTimeoutError extends Error {
constructor(type: string) {
super(`Timeout waiting for event "${type}"`);
this.name = 'WaitForTimeoutError';
}
}