docs: TSDoc + reference of fulfillment service (#5761)

This commit is contained in:
Shahed Nasser
2023-11-29 11:58:08 +00:00
committed by GitHub
parent 8f25ed8a10
commit f802e2460f
1479 changed files with 30259 additions and 16135 deletions

View File

@@ -6,13 +6,11 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
# StrategyResolverService
## Constructors
#### constructor
## constructor
`**new StrategyResolverService**(container)`
##### Parameters
### Parameters
<ParameterTypes parameters={[
{
@@ -26,6 +24,8 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
}
]} />
___
## Properties
<ParameterTypes parameters={[
@@ -85,15 +85,35 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
}
]} />
___
## Accessors
#### activeManager\_
### activeManager\_
`Protected` **activeManager\_**: [object Object]
`Protected get**activeManager_**(): EntityManager`
#### Returns
EntityManager
<ParameterTypes parameters={[
{
"name": "EntityManager",
"type": "EntityManager",
"optional": false,
"defaultValue": "",
"description": "",
"expandable": false,
"children": []
}
]} />
___
## Methods
#### atomicPhase\_
### atomicPhase\_
`Protected **atomicPhase_**<TypeParameter TResult, TypeParameter TError>(work, isolationOrErrorHandler?, maybeErrorHandlerOrDontFail?): Promise&#60;TResult&#62;`
@@ -101,7 +121,7 @@ Wraps some work within a transactional block. If the service already has
a transaction manager attached this will be reused, otherwise a new
transaction manager is created.
##### Type Parameters
#### Type Parameters
<ParameterTypes parameters={[
{
@@ -124,7 +144,7 @@ transaction manager is created.
}
]} />
##### Parameters
#### Parameters
<ParameterTypes parameters={[
{
@@ -156,7 +176,7 @@ transaction manager is created.
}
]} />
##### Returns
#### Returns
Promise&#60;TResult&#62;
@@ -174,11 +194,11 @@ Promise&#60;TResult&#62;
___
#### resolveBatchJobByType
### resolveBatchJobByType
`**resolveBatchJobByType**(type): [AbstractBatchJobStrategy](AbstractBatchJobStrategy.mdx)`
##### Parameters
#### Parameters
<ParameterTypes parameters={[
{
@@ -192,7 +212,7 @@ ___
}
]} />
##### Returns
#### Returns
[AbstractBatchJobStrategy](AbstractBatchJobStrategy.mdx)
@@ -210,11 +230,11 @@ ___
___
#### shouldRetryTransaction\_
### shouldRetryTransaction\_
`Protected **shouldRetryTransaction_**(err): boolean`
##### Parameters
#### Parameters
<ParameterTypes parameters={[
{
@@ -228,7 +248,7 @@ ___
}
]} />
##### Returns
#### Returns
`boolean`
@@ -246,11 +266,11 @@ ___
___
#### withTransaction
### withTransaction
`**withTransaction**(transactionManager?): [StrategyResolverService](StrategyResolverService.mdx)`
##### Parameters
#### Parameters
<ParameterTypes parameters={[
{
@@ -264,7 +284,7 @@ ___
}
]} />
##### Returns
#### Returns
[StrategyResolverService](StrategyResolverService.mdx)