Photomechanics API
Photomechanics.Photo3DStudio.Common.Extensions.WaitHandleExtensions Class Reference

From https://stackoverflow.com/a/18766131/9641911. More...

Static Public Member Functions

static Task AsTask (this WaitHandle handle)
 Represent WaitHandle.WaitTimeout operation as Task. More...
 
static Task AsTask (this WaitHandle handle, TimeSpan timeout)
 Represent WaitHandle.WaitTimeout operation as Task. More...
 

Detailed Description

Member Function Documentation

◆ AsTask() [1/2]

static Task Photomechanics.Photo3DStudio.Common.Extensions.WaitHandleExtensions.AsTask ( this WaitHandle  handle)
static

Represent WaitHandle.WaitTimeout operation as Task.

◆ AsTask() [2/2]

static Task Photomechanics.Photo3DStudio.Common.Extensions.WaitHandleExtensions.AsTask ( this WaitHandle  handle,
TimeSpan  timeout 
)
static

Represent WaitHandle.WaitTimeout operation as Task.