Search
Preparing search index...
The search index is not available
@argdown/node
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@argdown/node
AsyncArgdownApplication
Class AsyncArgdownApplication
Hierarchy
ArgdownApplication
AsyncArgdownApplication
Index
Constructors
constructor
Properties
default
Logger
default
Processes
logger
processors
Methods
add
Plugin
get
Plugin
get
Plugins
load
load
Config
remove
Plugin
remove
Processor
replace
Plugin
run
run
Async
Constructors
constructor
new
Async
Argdown
Application
(
logger
?:
IArgdownLogger
)
:
AsyncArgdownApplication
Parameters
Optional
logger:
IArgdownLogger
Returns
AsyncArgdownApplication
Properties
default
Logger
default
Logger
:
IArgdownLogger
default
Processes
default
Processes
:
{}
Type declaration
[
name:
string
]:
string
[]
logger
logger
:
IArgdownLogger
processors
processors
:
{}
Type declaration
[
name:
string
]:
IArgdownProcessor
Methods
add
Plugin
add
Plugin
(
plugin
:
IArgdownPlugin
, processorId
?:
string
)
:
void
Parameters
plugin:
IArgdownPlugin
Optional
processorId:
string
Returns
void
get
Plugin
get
Plugin
(
name
:
string
, processorId
:
string
)
:
null
|
IArgdownPlugin
Parameters
name:
string
processorId:
string
Returns
null
|
IArgdownPlugin
get
Plugins
get
Plugins
(
processorId
:
string
)
:
null
|
IArgdownPlugin
[]
Parameters
processorId:
string
Returns
null
|
IArgdownPlugin
[]
load
load
(
request
:
IArgdownRequest
)
:
Promise
<
undefined
|
IArgdownResponse
[]
>
Parameters
request:
IArgdownRequest
Returns
Promise
<
undefined
|
IArgdownResponse
[]
>
load
Config
load
Config
(
filePath
?:
string
)
:
Promise
<
IArgdownRequest
>
Parameters
Optional
filePath:
string
Returns
Promise
<
IArgdownRequest
>
remove
Plugin
remove
Plugin
(
plugin
:
IArgdownPlugin
, processorId
?:
string
)
:
void
Parameters
plugin:
IArgdownPlugin
Optional
processorId:
string
Returns
void
remove
Processor
remove
Processor
(
processorId
:
string
)
:
void
Parameters
processorId:
string
Returns
void
replace
Plugin
replace
Plugin
(
oldPluginId
:
string
, newPlugin
:
IArgdownPlugin
, processorId
?:
string
)
:
void
Parameters
oldPluginId:
string
newPlugin:
IArgdownPlugin
Optional
processorId:
string
Returns
void
run
run
(
request
:
IArgdownRequest
, response
?:
IArgdownResponse
)
:
IArgdownResponse
Parameters
request:
IArgdownRequest
Optional
response:
IArgdownResponse
Returns
IArgdownResponse
run
Async
run
Async
(
request
:
IArgdownRequest
, response
?:
IArgdownResponse
)
:
Promise
<
IArgdownResponse
>
Parameters
request:
IArgdownRequest
Optional
response:
IArgdownResponse
Returns
Promise
<
IArgdownResponse
>
Exports
Async
Argdown
Application
constructor
default
Logger
default
Processes
logger
processors
add
Plugin
get
Plugin
get
Plugins
load
load
Config
remove
Plugin
remove
Processor
replace
Plugin
run
run
Async
Generated using
TypeDoc