Package dev.gmitch215.bytebox.binding
Interface DurableObjectNamespace.DurableObjectId
- All Superinterfaces:
org.teavm.jso.JSObject
- Enclosing interface:
DurableObjectNamespace
public static interface DurableObjectNamespace.DurableObjectId
extends org.teavm.jso.JSObject
An instance's identity.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the id as hexadecimal, whichDurableObjectNamespace.idFromString(String)reads back.default Stringname()Returns the name this id came from, ornullwhen it came from none.Methods inherited from interface org.teavm.jso.JSObject
cast
-
Method Details
-
asString
String asString()Returns the id as hexadecimal, whichDurableObjectNamespace.idFromString(String)reads back.- Returns:
- the id as hexadecimal, which
DurableObjectNamespace.idFromString(String)reads back
-
name
Returns the name this id came from, ornullwhen it came from none.- Returns:
- the name this id came from, or
nullwhen it came from none
-