NoopWatcher
No overview available.
Methods
WaitToStart()
@classmethod
def WaitToStart(
ctx: context.Context
) - > error
Waits for the watcher to start. This method is a no-op for the NoopWatcher, meaning it returns immediately without performing any action.
Parameters
| Name | Type | Description |
|---|---|---|
| ctx | context.Context | The context for the operation, which can be used for cancellation or timeouts. For NoopWatcher, this context is not actively used. |
Returns
| Type | Description |
|---|---|
error | Returns nil, indicating no error, as this is a no-op. |
WaitToExit()
@classmethod
def WaitToExit(
ctx: context.Context
) - > error
Waits for the watcher to exit. This method is a no-op for the NoopWatcher, meaning it returns immediately without performing any action.
Parameters
| Name | Type | Description |
|---|---|---|
| ctx | context.Context | The context for the operation, which can be used for cancellation or timeouts. For NoopWatcher, this context is not actively used. |
Returns
| Type | Description |
|---|---|
error | Returns nil, indicating no error, as this is a no-op. |