Package dev.gmitch215.bytebox.binding
Interface VersionMetadata
- All Superinterfaces:
org.teavm.jso.JSObject
public interface VersionMetadata
extends org.teavm.jso.JSObject
Which version of the Worker is running. Declared with
versionMetadata(), named
CF_VERSION_METADATA.
Readable during module evaluation, because it is a value rather than a service.
- Since:
- 1.0.0
-
Method Summary
Methods inherited from interface org.teavm.jso.JSObject
cast
-
Method Details
-
getId
String getId()Returns the version id.- Returns:
- the version id
-
getTag
String getTag()Returns the version tag, when one was set on upload.- Returns:
- the version tag, when one was set on upload
-
getTimestamp
String getTimestamp()Returns when the version was uploaded, as an ISO 8601 timestamp.- Returns:
- when the version was uploaded, as an ISO 8601 timestamp
-