EventEmitter.emit()

특정 이벤트를 트리거합니다.

구문

Python

eventEmitter.emit(name, args)

매개변수

name str

트리거할 이벤트 이름

args list[Any]

핸들러에 전달할 인자