issues
search
nexpy
/
nxrefine
Module to enable [hkl] transformation of single-crystal x-ray scattering
Other
4
stars
5
forks
source link
Add-async-option
#92
Closed
rayosborn
closed
5 months ago
rayosborn
commented
5 months ago
If
server_type
is set to None, calls to
add_task
are executed directly in a worker thread.
This removes the need for the file-based queue in systems where it is buggy.
The
asyncio
library is used instead of
subprocess
to allow immediate execution, with
async
functions to record the output.
server_type
is set to None, calls toadd_task
are executed directly in a worker thread.asyncio
library is used instead ofsubprocess
to allow immediate execution, withasync
functions to record the output.