Search
Preparing search index...
The search index is not available
@nestjs/microservices
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
InstanceWrapper
Class InstanceWrapper<T>
Type parameters
T =
any
Hierarchy
InstanceWrapper
Index
Constructors
constructor
Properties
[INSTANCE_
ID_
SYMBOL]
[INSTANCE_
METADATA_
SYMBOL]
async
forward
Ref
host
inject
is
Alias
is
Tree
Static
metatype
name
scope
transient
Map
values
Accessors
id
instance
is
Not
Metatype
is
Transient
Methods
add
Ctor
Metadata
add
Enhancer
Metadata
add
Properties
Metadata
clone
Static
Instance
clone
Transient
Instance
create
Prototype
get
Ctor
Metadata
get
Enhancers
Metadata
get
Instance
ByContext
Id
get
Instance
ByInquirer
Id
get
Properties
Metadata
get
Static
Transient
Instances
initialize
is
Dependency
Tree
Static
is
Explicitly
Requested
is
InRequest
Scope
is
Lazy
Transient
is
Newable
is
Static
is
Wrapper
List
Static
merge
With
set
Instance
ByContext
Id
set
Instance
ByInquirer
Id
Constructors
constructor
new
Instance
Wrapper
(
metadata
?:
{}
)
:
InstanceWrapper
Parameters
Default value
metadata:
{}
= {}
Returns
InstanceWrapper
Properties
Private
Readonly
[INSTANCE_
ID_
SYMBOL]
[INSTANCE_
ID_
SYMBOL]
:
string
Private
Readonly
[INSTANCE_
METADATA_
SYMBOL]
[INSTANCE_
METADATA_
SYMBOL]
:
InstanceMetadataStore
Optional
Readonly
async
async
:
boolean
Optional
forward
Ref
forward
Ref
:
boolean
Optional
Readonly
host
host
:
Module
Optional
inject
inject
:
(
string
|
symbol
|
Function
|
Type
<
any
>
)
[]
Readonly
is
Alias
is
Alias
:
boolean
= false
Private
is
Tree
Static
is
Tree
Static
:
boolean
|
undefined
metatype
metatype
:
Type
<
T
>
|
Function
Readonly
name
name
:
any
Optional
scope
scope
:
Scope
= Scope.DEFAULT
Private
Optional
transient
Map
transient
Map
:
Map
<
string
,
WeakMap
<
ContextId
,
InstancePerContext
<
T
>
>
>
|
undefined
Private
Readonly
values
values
:
WeakMap
<
ContextId
,
InstancePerContext
<
T
>
>
= new WeakMap<ContextId, InstancePerContext<T>>()
Accessors
id
get
id
(
)
:
string
Returns
string
instance
get
instance
(
)
:
T
set
instance
(
value
:
T
)
:
void
Returns
T
Parameters
value:
T
Returns
void
is
Not
Metatype
get
isNotMetatype
(
)
:
boolean
Returns
boolean
is
Transient
get
isTransient
(
)
:
boolean
Returns
boolean
Methods
add
Ctor
Metadata
add
Ctor
Metadata
(
index
:
any
, wrapper
:
any
)
:
void
Parameters
index:
any
wrapper:
any
Returns
void
add
Enhancer
Metadata
add
Enhancer
Metadata
(
wrapper
:
any
)
:
void
Parameters
wrapper:
any
Returns
void
add
Properties
Metadata
add
Properties
Metadata
(
key
:
any
, wrapper
:
any
)
:
void
Parameters
key:
any
wrapper:
any
Returns
void
clone
Static
Instance
clone
Static
Instance
(
contextId
:
any
)
:
any
Parameters
contextId:
any
Returns
any
clone
Transient
Instance
clone
Transient
Instance
(
contextId
:
any
, inquirerId
:
any
)
:
any
Parameters
contextId:
any
inquirerId:
any
Returns
any
create
Prototype
create
Prototype
(
contextId
:
any
)
:
any
Parameters
contextId:
any
Returns
any
get
Ctor
Metadata
get
Ctor
Metadata
(
)
:
any
Returns
any
get
Enhancers
Metadata
get
Enhancers
Metadata
(
)
:
any
Returns
any
get
Instance
ByContext
Id
get
Instance
ByContext
Id
(
contextId
:
any
, inquirerId
:
any
)
:
any
Parameters
contextId:
any
inquirerId:
any
Returns
any
get
Instance
ByInquirer
Id
get
Instance
ByInquirer
Id
(
contextId
:
any
, inquirerId
:
any
)
:
any
Parameters
contextId:
any
inquirerId:
any
Returns
any
get
Properties
Metadata
get
Properties
Metadata
(
)
:
any
Returns
any
get
Static
Transient
Instances
get
Static
Transient
Instances
(
)
:
any
[]
Returns
any
[]
initialize
initialize
(
metadata
:
any
)
:
void
Parameters
metadata:
any
Returns
void
is
Dependency
Tree
Static
is
Dependency
Tree
Static
(
lookupRegistry
?:
any
[]
)
:
any
Parameters
Default value
lookupRegistry:
any
[]
= []
Returns
any
is
Explicitly
Requested
is
Explicitly
Requested
(
contextId
:
any
, inquirer
:
any
)
:
boolean
Parameters
contextId:
any
inquirer:
any
Returns
boolean
is
InRequest
Scope
is
InRequest
Scope
(
contextId
:
any
, inquirer
:
any
)
:
boolean
Parameters
contextId:
any
inquirer:
any
Returns
boolean
is
Lazy
Transient
is
Lazy
Transient
(
contextId
:
any
, inquirer
:
any
)
:
boolean
Parameters
contextId:
any
inquirer:
any
Returns
boolean
is
Newable
is
Newable
(
)
:
any
Returns
any
is
Static
is
Static
(
contextId
:
any
, inquirer
:
any
)
:
boolean
Parameters
contextId:
any
inquirer:
any
Returns
boolean
is
Wrapper
List
Static
is
Wrapper
List
Static
(
tree
:
any
, lookupRegistry
:
any
)
:
any
Parameters
tree:
any
lookupRegistry:
any
Returns
any
merge
With
merge
With
(
provider
:
any
)
:
void
Parameters
provider:
any
Returns
void
set
Instance
ByContext
Id
set
Instance
ByContext
Id
(
contextId
:
any
, value
:
any
, inquirerId
:
any
)
:
void
Parameters
contextId:
any
value:
any
inquirerId:
any
Returns
void
set
Instance
ByInquirer
Id
set
Instance
ByInquirer
Id
(
contextId
:
any
, inquirerId
:
any
, value
:
any
)
:
void
Parameters
contextId:
any
inquirerId:
any
value:
any
Returns
void
Globals
Instance
Wrapper
constructor
[INSTANCE_
ID_
SYMBOL]
[INSTANCE_
METADATA_
SYMBOL]
async
forward
Ref
host
inject
is
Alias
is
Tree
Static
metatype
name
scope
transient
Map
values
id
instance
is
Not
Metatype
is
Transient
add
Ctor
Metadata
add
Enhancer
Metadata
add
Properties
Metadata
clone
Static
Instance
clone
Transient
Instance
create
Prototype
get
Ctor
Metadata
get
Enhancers
Metadata
get
Instance
ByContext
Id
get
Instance
ByInquirer
Id
get
Properties
Metadata
get
Static
Transient
Instances
initialize
is
Dependency
Tree
Static
is
Explicitly
Requested
is
InRequest
Scope
is
Lazy
Transient
is
Newable
is
Static
is
Wrapper
List
Static
merge
With
set
Instance
ByContext
Id
set
Instance
ByInquirer
Id
Generated using
TypeDoc