new ObjectLocationResolver()
Resolve registered Member Node object service locations from System
Metadata.
- Since:
- Source:
Methods
locate(pid, optionsopt) → {Promise.<object>}
Find registered readable Member Node object services for an object.
Parameters:
| Name |
Type |
Attributes |
Description |
pid |
string
|
|
Object identifier |
options |
object
|
<optional>
|
Lookup options
Properties
| Name |
Type |
Attributes |
Description |
signal |
AbortSignal
|
<optional>
|
Request signal |
|
- Source:
Throws:
-
When System Metadata cannot be read
-
-
Type
-
Error
Returns:
Ordered object service URLs and public status
-
Type
-
Promise.<object>
waitForNodeModel(signalopt) → {Promise.<*>}
Wait for the node registry check to finish.
Parameters:
| Name |
Type |
Attributes |
Description |
signal |
AbortSignal
|
<optional>
|
Request signal |
- Source:
Throws:
-
When the request is aborted
-
-
Type
-
AbortError
Returns:
Node registry model
-
Type
-
Promise.<*>