postEvent(_:atStart:) Forwards the message to the global application object. Declarationfunc postEvent(_ event: NSEvent, atStart flag: Bool) Parametersevent: The event to add to the window’s event queue.flag: True to place the event in the front of the queue; False to place it in the back. See AlsoRelated DocumentationpostEvent(_:atStart:)Handling EventscurrentEventnextEvent(matching:)nextEvent(matching:until:inMode:dequeue:)discardEvents(matching:before:)sendEvent(_:)tryToPerform(_:with:)