Results
No results found.
Methods:
listEnvironments: () => Promise<Environment[]>
listEnvironmentsSync: () => Environment[]
getEnvironment: (name: string) => Promise<Environment | undefined>
getEnvironmentSync: () => Environment | undefined
Example
// List environments
const environments = await locker.listEnvironments()
// or
const environments = locker.listEnvironmentsSync()
// Get an environment object by name
const environment = await locker.getEnvironment('prod')
// or
const environment = locker.getEnvironmentSync('prod')