Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdruppe committed Feb 17, 2017
1 parent c4d9ade commit 534312e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion simpledisplay.d
Expand Up @@ -1008,7 +1008,9 @@ class SimpleWindow : CapableOfHandlingNativeEvent {
}

/// The event loop automatically returns when the window is closed
/// pulseTimeout is given in milliseconds.
/// pulseTimeout is given in milliseconds. If pulseTimeout == 0, no
/// pulse timer is created. The event loop will block until an event
/// arrives or the pulse timer goes off.
final int eventLoop(T...)(
long pulseTimeout, /// set to zero if you don't want a pulse.
T eventHandlers) /// delegate list like std.concurrency.receive
Expand Down

0 comments on commit 534312e

Please sign in to comment.