MLJBase.jl
MLJBase.jl copied to clipboard
Ensure packages implementing Code are threadsafe
Apart from the fact that packages need to implement MLJ's API to be used in MLJ. They also need to ensure that that their code is thread safe otherwise things break.
I think some developers (myself included) will not too familiar with what is and what is not safe. Is there a list somewhere? (I know only this discussion)
The updated docs here can supplement that. Basically the key point is that should avoid functions with side effects (i.e mutates the global state)