format 4.0
census 2e30db26-66c8-4551-85b9-a537376d8f99 1
namespace Windows.System.Threading

interface Windows.System.Threading.IThreadPoolStatics
    guid b6bf67dd-84bd-44f8-ac1c-93ebcb9dba91

interface Windows.System.Threading.IThreadPoolTimer
    guid 594ebe78-55ea-4a88-a50d-3402ae1f9cf2

interface Windows.System.Threading.IThreadPoolTimerStatics
    guid 1a8a9d02-e482-461b-b8c7-8efad1cce590

class Windows.System.Threading.ThreadPool static python_type
    py ThreadPool
    factory Windows.System.Threading.IThreadPoolStatics
    method run_async static
        method RunAsync slot=6 inputs=1 outputs=1 declaring=Windows.System.Threading.IThreadPoolStatics shape=51 static
            in delegate type=Windows.System.Threading.WorkItemHandler name=handler
            out interface type=Windows.Foundation.IAsyncAction return
        method RunAsync slot=7 inputs=2 outputs=1 declaring=Windows.System.Threading.IThreadPoolStatics shape=117 static
            in delegate type=Windows.System.Threading.WorkItemHandler name=handler
            in enum32 type=Windows.System.Threading.WorkItemPriority name=priority
            out interface type=Windows.Foundation.IAsyncAction return
        method RunAsync slot=8 inputs=3 outputs=1 declaring=Windows.System.Threading.IThreadPoolStatics shape=195 static
            in delegate type=Windows.System.Threading.WorkItemHandler name=handler
            in enum32 type=Windows.System.Threading.WorkItemPriority name=priority
            in enum_u32 type=Windows.System.Threading.WorkItemOptions name=options
            out interface type=Windows.Foundation.IAsyncAction return

class Windows.System.Threading.ThreadPoolTimer python_type
    py ThreadPoolTimer
    signature rc(Windows.System.Threading.ThreadPoolTimer;{594ebe78-55ea-4a88-a50d-3402ae1f9cf2})
    default Windows.System.Threading.IThreadPoolTimer
    requires Windows.System.Threading.IThreadPoolTimer
    factory Windows.System.Threading.IThreadPoolTimerStatics
    property delay
        get get_Delay slot=7 inputs=0 outputs=1 declaring=Windows.System.Threading.IThreadPoolTimer shape=4
            out timespan return
    property period
        get get_Period slot=6 inputs=0 outputs=1 declaring=Windows.System.Threading.IThreadPoolTimer shape=4
            out timespan return
    method cancel
        method Cancel slot=8 inputs=0 outputs=0 declaring=Windows.System.Threading.IThreadPoolTimer shape=0
    method create_periodic_timer static
        method CreatePeriodicTimer slot=6 inputs=2 outputs=1 declaring=Windows.System.Threading.IThreadPoolTimerStatics shape=135 static
            in delegate type=Windows.System.Threading.TimerElapsedHandler name=handler
            in timespan name=period
            out class type=Windows.System.Threading.ThreadPoolTimer return
        method CreatePeriodicTimer slot=8 inputs=3 outputs=1 declaring=Windows.System.Threading.IThreadPoolTimerStatics shape=213 static
            in delegate type=Windows.System.Threading.TimerElapsedHandler name=handler
            in timespan name=period
            in delegate type=Windows.System.Threading.TimerDestroyedHandler name=destroyed
            out class type=Windows.System.Threading.ThreadPoolTimer return
    method create_timer static
        method CreateTimer slot=7 inputs=2 outputs=1 declaring=Windows.System.Threading.IThreadPoolTimerStatics shape=135 static
            in delegate type=Windows.System.Threading.TimerElapsedHandler name=handler
            in timespan name=delay
            out class type=Windows.System.Threading.ThreadPoolTimer return
        method CreateTimer slot=9 inputs=3 outputs=1 declaring=Windows.System.Threading.IThreadPoolTimerStatics shape=213 static
            in delegate type=Windows.System.Threading.TimerElapsedHandler name=handler
            in timespan name=delay
            in delegate type=Windows.System.Threading.TimerDestroyedHandler name=destroyed
            out class type=Windows.System.Threading.ThreadPoolTimer return

delegate Windows.System.Threading.TimerDestroyedHandler python_type
    py TimerDestroyedHandler
    guid 34ed19fa-8384-4eb9-8209-fb5094eeec35
    signature delegate({34ed19fa-8384-4eb9-8209-fb5094eeec35})
    method -
        method Invoke slot=3 inputs=1 outputs=0 shape=4 reverse=1
            in class type=Windows.System.Threading.ThreadPoolTimer name=timer

delegate Windows.System.Threading.TimerElapsedHandler python_type
    py TimerElapsedHandler
    guid faaea667-fbeb-49cb-adb2-71184c556e43
    signature delegate({faaea667-fbeb-49cb-adb2-71184c556e43})
    method -
        method Invoke slot=3 inputs=1 outputs=0 shape=4 reverse=1
            in class type=Windows.System.Threading.ThreadPoolTimer name=timer

delegate Windows.System.Threading.WorkItemHandler python_type
    py WorkItemHandler
    guid 1d1a8b8b-fa66-414f-9cbd-b65fc99d17fa
    signature delegate({1d1a8b8b-fa66-414f-9cbd-b65fc99d17fa})
    method -
        method Invoke slot=3 inputs=1 outputs=0 shape=4 reverse=1
            in interface type=Windows.Foundation.IAsyncAction name=operation

enum Windows.System.Threading.WorkItemOptions python_type flags_enum
    py WorkItemOptions
    signature enum(Windows.System.Threading.WorkItemOptions;u4)
    constant NONE 0x0
    constant TIME_SLICED 0x1

enum Windows.System.Threading.WorkItemPriority python_type
    py WorkItemPriority
    signature enum(Windows.System.Threading.WorkItemPriority;i4)
    constant LOW -1
    constant NORMAL 0
    constant HIGH 1

interface Windows.Foundation.IAsyncAction external
    py winrt.windows.foundation._IAsyncAction
    guid 5a648006-843a-4da9-865b-9d26e5dfad7b
