What's my name?

Is there any way inside a running worker to know its name? the one set inside the toml file. Thanks
2 Replies
kian
kian13mo ago
Not currently, no. You'd have to add a variable. (or use define to replace it at build-time)
TigersWay
TigersWay13mo ago
@kian That was fast .... Sad, but yes, I can manage another way!