unpack()
Unpack a packed string from the parent/child process. This function is a wrapper of json.decode(...). Warning: this function is now deprecated, and will be removed on the future release
unpack(data)
data (string) — A packed string
string — Returns the unpacked data
import multiprocess
process("worker", [], void(), on_return(), void())
function on_return(data)
d = unpack(data)
writer(d)
stop