Skip to main content

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

NameTypeDescription
ctxcontext.ContextThe context for the operation, which can be used for cancellation or timeouts. For NoopWatcher, this context is not actively used.

Returns

TypeDescription
errorReturns 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

NameTypeDescription
ctxcontext.ContextThe context for the operation, which can be used for cancellation or timeouts. For NoopWatcher, this context is not actively used.

Returns

TypeDescription
errorReturns nil, indicating no error, as this is a no-op.