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
@ocelotl
Thinking about this again, Should this be "one or more callbacks" instead of "zero or more callbacks"? What does it mean to create an instrument with zero callbacks?
@ocelotl Thinking about this again, Should this be "one or more callbacks" instead of "zero or more callbacks"? What does it mean to create an instrument with zero callbacks?
It means we can instrument that does nothing 😅
It is ok to have an instrument with zero callbacks (the spec specifically states this), such instrument is harmless, but the real reason is that in the future we plan to add another way to register callbacks (#2454). With this feature a zero-callback instrument could receive a callback later.
As stated by the spec:
The text was updated successfully, but these errors were encountered: