Preparing search index...
The search index is not available
Midway v3 Api Reference
Midway v3 Api Reference
@midwayjs/core
MidwayEnvironmentService
Class MidwayEnvironmentService
Hierarchy
MidwayEnvironmentService
Implements
IEnvironmentService
Index
Constructors
constructor
Properties
environment
Methods
get
Current
Environment
is
Development
Environment
set
Current
Environment
Constructors
constructor
new
Midway
Environment
Service
(
)
:
MidwayEnvironmentService
Returns
MidwayEnvironmentService
Properties
Protected
environment
environment
:
string
Methods
get
Current
Environment
get
Current
Environment
(
)
:
string
Returns
string
is
Development
Environment
is
Development
Environment
(
)
:
boolean
Returns
boolean
set
Current
Environment
set
Current
Environment
(
environment
:
string
)
:
void
Parameters
environment:
string
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
Midway v3
Api
Reference
@midwayjs/bootstrap
@midwayjs/core
Consumer
Metadata
FaaSMetadata
GRPCMetadata
@midwayjs/decorator
@midwayjs/koa
Midway
Environment
Service
constructor
environment
get
Current
Environment
is
Development
Environment
set
Current
Environment
Generated using
TypeDoc