IAgent.emit property

Signature:
emit: (eventType: string, data: any) => Promise<void>;