make @sync
lexically scoped and merge @schedule
with @async
#27164
Merged
JeffBezanson merged 1 commit intomasterfrom jb/asyncMay 23, 2018
+188-179
@sync
lexically scoped and merge @schedule
with @async
#27164