canmove, Confirmed users
901
edits
m (Add missing {) |
m (Add missing e) |
||
| Line 29: | Line 29: | ||
=== Example === | === Example === | ||
Suppose you have a runnable that is dispatched to the main thread. To convert this code, we simply call Dispatch on the document. | Suppose you have a runnable that is dispatched to the main thread. To convert this code, we simply call Dispatch on the document. Here is a diff showing the changes: | ||
/* virtual */ void | /* virtual */ void | ||