You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use ScopeValues instead of TLS for geometry resolution context #360
#328 introduces a "context manager" for use during schematic rendering that serves two purposes: it provides error recovery logic (for now, this just means logging the error via a callback), as well as a cache for component geometry. The callback and the cache are made available to the running task via task_local_storage(), but as Greg pointed out, the "textbook" way of doing this is with a ScopedValue. However, ScopedValues are only available in Base in Julia 1.11; before that they have be used via a separate package. If we do this, I suggest dropping support for <=1.10 so that we don't take on an extra dependency.
Activity