tag
Creates a typed placeholder for a value that a Wire supplies and a Task reads.
tag<T>(name)— Returns a Tag of value typeT(defaultnever).nameis a debug string used in error messages and Wire namestag.name— The string passed totag(...)tag.value— Typed reference to the Tag’s value, used insiderun.context
const userId = tag<number>("userId")
userId.name // "userId"userId.value // Spot<number>