EventDefinition
Deprecated (with error)
EventDefinition<T> has been moved to io.ktor.events
Replace with
import io.ktor.events.EventDefinition
Content copied to clipboard
EventDefinition<T>
Content copied to clipboard
Definition of an event. Event is used as a key so both hashCode and equals need to be implemented properly. Inheriting of this class is an experimental plugin. Instantiate directly if inheritance not necessary.
Parameters
T
specifies what is a type of a value passed to the event