|
Pip-Services-Commons-Dotnet
|
Interface for components that require explicit opening and closing. More...
Public Member Functions | |
| bool | IsOpen () |
| Checks if the component is opened. More... | |
| Task | OpenAsync (string correlationId) |
| Opens the component. More... | |
Public Member Functions inherited from PipServices3.Commons.Run.IClosable | |
| Task | CloseAsync (string correlationId) |
| Closes component and frees used resources. More... | |
Interface for components that require explicit opening and closing.
For components that perform opening on demand consider using IClosable interface instead.
See Opener
| bool PipServices3.Commons.Run.IOpenable.IsOpen | ( | ) |
Checks if the component is opened.
| Task PipServices3.Commons.Run.IOpenable.OpenAsync | ( | string | correlationId | ) |
Opens the component.
| correlationId | (optional) transaction id to trace execution through call chain. |
1.8.13