TestimoX

API Reference

Class

BackgroundOperation`1

Namespace TestimoX.Infrastructure

Runs synchronous work on a dedicated background thread so callers can observe completion without blocking on task wrappers.

Inheritance

  • Object
  • BackgroundOperation`1

Methods

GetResult() #

Returns the worker result or rethrows the captured exception.

Start(System.Func{`0} work, System.String name) #

Starts a background operation immediately.

Parameters

work System.Func{`0} required
name System.String required
TryGetResult(System.TimeSpan timeout, `0@ result) #

Waits for completion and returns the result when available.

Parameters

timeout System.TimeSpan required
result `0@ required
Wait(System.TimeSpan timeout) #

Waits for completion within the supplied timeout.

Parameters

timeout System.TimeSpan required