Kết quả
No results found.
Phương pháp:
listEnvironments: () => Promise<Environment[]>
listEnvironmentsSync: () => Environment[]
getEnvironment: (name: string) => Promise<Environment | undefined>
getEnvironmentSync: () => Environment | undefined
Ví dụ:
// 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')