Retrieves an existing namespace by name or creates a new one if it doesn't exist.
The name of the namespace.
The retrieved or created namespace.
const ns = getOrCreateNamespace('myNamespace'); Copy
const ns = getOrCreateNamespace('myNamespace');
Retrieves an existing namespace by name or creates a new one if it doesn't exist.