Search
Preparing search index...
The search index is not available
@nestjs/microservices
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
PipesContextCreator
Class PipesContextCreator
Hierarchy
ContextCreator
ContextCreator
PipesContextCreator
Index
Constructors
constructor
Properties
config
container
module
Context
Methods
create
create
Concrete
Context
create
Context
get
Global
Metadata
get
Instance
ByMetatype
get
Pipe
Instance
reflect
Class
Metadata
reflect
Method
Metadata
set
Module
Context
Constructors
constructor
new
Pipes
Context
Creator
(
container
:
any
, config
:
any
)
:
PipesContextCreator
Parameters
container:
any
config:
any
Returns
PipesContextCreator
Properties
Private
Optional
Readonly
config
config
:
ApplicationConfig
Private
Readonly
container
container
:
NestContainer
Private
module
Context
module
Context
:
string
Methods
create
create
(
instance
:
any
, callback
:
any
, moduleKey
:
any
, contextId
?:
ContextId
, inquirerId
:
any
)
:
any
Parameters
instance:
any
callback:
any
moduleKey:
any
Default value
contextId:
ContextId
= constants_2.STATIC_CONTEXT
inquirerId:
any
Returns
any
create
Concrete
Context
create
Concrete
Context
(
metadata
:
any
, contextId
?:
ContextId
, inquirerId
:
any
)
:
any
[]
Parameters
metadata:
any
Default value
contextId:
ContextId
= constants_2.STATIC_CONTEXT
inquirerId:
any
Returns
any
[]
create
Context
create
Context<T, R>
(
instance
:
Controller
, callback
:
(
...
args
:
any
[]
)
=>
void
, metadataKey
:
string
, contextId
?:
ContextId
, inquirerId
?:
string
)
:
R
Type parameters
T
:
unknown
[]
=
any
R
:
unknown
[]
=
any
Parameters
instance:
Controller
callback:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
metadataKey:
string
Optional
contextId:
ContextId
Optional
inquirerId:
string
Returns
R
get
Global
Metadata
get
Global
Metadata
(
contextId
?:
ContextId
, inquirerId
:
any
)
:
any
Parameters
Default value
contextId:
ContextId
= constants_2.STATIC_CONTEXT
inquirerId:
any
Returns
any
get
Instance
ByMetatype
get
Instance
ByMetatype
(
metatype
:
any
)
:
any
Parameters
metatype:
any
Returns
any
get
Pipe
Instance
get
Pipe
Instance
(
pipe
:
any
, contextId
?:
ContextId
, inquirerId
:
any
)
:
any
Parameters
pipe:
any
Default value
contextId:
ContextId
= constants_2.STATIC_CONTEXT
inquirerId:
any
Returns
any
reflect
Class
Metadata
reflect
Class
Metadata<T>
(
instance
:
Controller
, metadataKey
:
string
)
:
T
Type parameters
T
Parameters
instance:
Controller
metadataKey:
string
Returns
T
reflect
Method
Metadata
reflect
Method
Metadata<T>
(
callback
:
(
...
args
:
unknown
[]
)
=>
unknown
, metadataKey
:
string
)
:
T
Type parameters
T
Parameters
callback:
(
...
args
:
unknown
[]
)
=>
unknown
(
...
args
:
unknown
[]
)
:
unknown
Parameters
Rest
...
args:
unknown
[]
Returns
unknown
metadataKey:
string
Returns
T
set
Module
Context
set
Module
Context
(
context
:
any
)
:
void
Parameters
context:
any
Returns
void
Globals
Pipes
Context
Creator
constructor
config
container
module
Context
create
create
Concrete
Context
create
Context
get
Global
Metadata
get
Instance
ByMetatype
get
Pipe
Instance
reflect
Class
Metadata
reflect
Method
Metadata
set
Module
Context
Generated using
TypeDoc