itty-durable
itty-durable copied to clipboard
Get object id method in createDurable interface
Why
Having a default method or property on the DO proxy to reflect the DO object id is useful
What
Expose the object id in a property or method. Example
myDo.$.id
or
myDo.getId()