Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement
config.define
(#1297)
This implements `config.define`. This lets the user define a map of keys to strings that will be substituted in the worker's source. This is particularly useful when combined with environments. A common usecase is for values that are sent along with metrics events; environment name, public keys, version numbers, etc. It's also sometimes a runaround for module env vars, which otherwise have to be threaded through request function stacks.
- Loading branch information