Event<T> constructor

Event<T>(
  1. DispatchKey key
)

Create an Event and associate it with key.

Implementation

Event(DispatchKey key) : _key = key;