EventEmitter.emit()

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

구문

eventEmitter.emit(name, args)

매개변수

namestr

트리거할 이벤트 이름

argslist[Any]

핸들러에 전달할 인자