Instance Method

on(_:do:)

No overview available.

Declaration

func on(_ event: Event, do function: @escaping (Any) -> Void) -> Int

Parameters

event

Event to listen for