I am writing some software to control an instrument. The basic idea is to use Julia REPL (+ optional GUI) as the user interface. There is an @async process that sends UDP packet every second or so to the instrument. The content of that packet is of course a function of user input and time.
The question is, is there a more elegant way to pass information to the @async process than a global variable (all variables inside @async are localized)? I guess the speed is really not an issue in this case but still... Is there a better way to accomplish this than @async? I could of course write my own @async_not_localized, are there drawbacks in doing that? Thanks, Kaj
