Update: sync
is now supported in the current release of Typed Racket, as part of Racket version 6.0.
The sync
function isn't supported natively yet in any release version of Typed Racket because event types are not supported. If you download a recent pre-release version of Racket (either from the snapshot site or github), you should get a version of Typed Racket that supports events and sync
.
Caveat: the pre-release build is more likely to have bugs. Bug reports welcome!