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
Most APIs that let you get and set items in sdk return a signal which implements the readable and writable traits. Those traits expose a bunch of useful helper methods and more fine grained control over reads that return a result when the value is locked or dropped.
The clipboard API just exposes set and get which always panics if the value is dropped causing #54. If it implemented readable and writable, you could use try_read and try_write to get and set the value without panicing if the value is dropped
The text was updated successfully, but these errors were encountered:
Most APIs that let you get and set items in sdk return a signal which implements the readable and writable traits. Those traits expose a bunch of useful helper methods and more fine grained control over reads that return a result when the value is locked or dropped.
The clipboard API just exposes set and get which always panics if the value is dropped causing #54. If it implemented readable and writable, you could use
try_read
andtry_write
to get and set the value without panicing if the value is droppedThe text was updated successfully, but these errors were encountered: