Creates a distinct frozen injection token without process state.
Diagnostic name
A new identity-keyed token
const port = createToken<number>('port');container.register(port, { useValue: 3000 });const value = container.resolve(port); Copy
const port = createToken<number>('port');container.register(port, { useValue: 3000 });const value = container.resolve(port);
0.11.0
Creates a distinct frozen injection token without process state.