winrt-Windows.System.Threading 2.0.0b1__cp39-cp39-win_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,49 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.foundation
13
+
14
+ from winrt.windows.system.threading import WorkItemOptions, WorkItemPriority
15
+ from winrt.windows.system.threading import TimerDestroyedHandler, TimerElapsedHandler, WorkItemHandler
16
+
17
+ Self = typing.TypeVar('Self')
18
+
19
+ class ThreadPool_Static(type):
20
+ @typing.overload
21
+ def run_async(cls, handler: typing.Optional[WorkItemHandler], /) -> winrt.windows.foundation.IAsyncAction: ...
22
+ @typing.overload
23
+ def run_async(cls, handler: typing.Optional[WorkItemHandler], priority: WorkItemPriority, /) -> winrt.windows.foundation.IAsyncAction: ...
24
+ @typing.overload
25
+ def run_async(cls, handler: typing.Optional[WorkItemHandler], priority: WorkItemPriority, options: WorkItemOptions, /) -> winrt.windows.foundation.IAsyncAction: ...
26
+
27
+ class ThreadPool(winrt.system.Object, metaclass=ThreadPool_Static):
28
+ @staticmethod
29
+ def _from(obj: winrt.system.Object, /) -> ThreadPool: ...
30
+
31
+ class ThreadPoolTimer_Static(type):
32
+ @typing.overload
33
+ def create_periodic_timer(cls, handler: typing.Optional[TimerElapsedHandler], period: datetime.timedelta, /) -> typing.Optional[ThreadPoolTimer]: ...
34
+ @typing.overload
35
+ def create_periodic_timer(cls, handler: typing.Optional[TimerElapsedHandler], period: datetime.timedelta, destroyed: typing.Optional[TimerDestroyedHandler], /) -> typing.Optional[ThreadPoolTimer]: ...
36
+ @typing.overload
37
+ def create_timer(cls, handler: typing.Optional[TimerElapsedHandler], delay: datetime.timedelta, /) -> typing.Optional[ThreadPoolTimer]: ...
38
+ @typing.overload
39
+ def create_timer(cls, handler: typing.Optional[TimerElapsedHandler], delay: datetime.timedelta, destroyed: typing.Optional[TimerDestroyedHandler], /) -> typing.Optional[ThreadPoolTimer]: ...
40
+
41
+ class ThreadPoolTimer(winrt.system.Object, metaclass=ThreadPoolTimer_Static):
42
+ @staticmethod
43
+ def _from(obj: winrt.system.Object, /) -> ThreadPoolTimer: ...
44
+ def cancel(self) -> None: ...
45
+ @_property
46
+ def delay(self) -> datetime.timedelta: ...
47
+ @_property
48
+ def period(self) -> datetime.timedelta: ...
49
+
@@ -0,0 +1,33 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
+
3
+ import enum
4
+ import typing
5
+ import uuid as _uuid
6
+
7
+ import winrt.system
8
+ from winrt import _winrt_windows_system_threading
9
+
10
+ __all__ = [
11
+ "WorkItemOptions",
12
+ "WorkItemPriority",
13
+ "ThreadPool",
14
+ "ThreadPoolTimer",
15
+ "TimerDestroyedHandler",
16
+ "TimerElapsedHandler",
17
+ "WorkItemHandler",
18
+ ]
19
+
20
+ class WorkItemOptions(enum.IntFlag):
21
+ NONE = 0
22
+ TIME_SLICED = 0x1
23
+
24
+ class WorkItemPriority(enum.IntEnum):
25
+ LOW = -1
26
+ NORMAL = 0
27
+ HIGH = 1
28
+
29
+ ThreadPool = _winrt_windows_system_threading.ThreadPool
30
+ ThreadPoolTimer = _winrt_windows_system_threading.ThreadPoolTimer
31
+ TimerDestroyedHandler = typing.Callable[[typing.Optional[ThreadPoolTimer]], None]
32
+ TimerElapsedHandler = typing.Callable[[typing.Optional[ThreadPoolTimer]], None]
33
+ WorkItemHandler = typing.Callable[[winrt.windows.foundation.IAsyncAction], None]
@@ -0,0 +1,24 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.System.Threading
3
+ Version: 2.0.0b1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Repository, https://github.com/pywrint/pywrinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
+ Classifier: Operating System :: Microsoft :: Windows
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: Implementation :: CPython
11
+ Classifier: Intended Audience :: Developers
12
+ Requires-Python: <3.13,>=3.9
13
+ Description-Content-Type: text/markdown
14
+ Requires-Dist: winrt-runtime ==2.0.0-beta.1
15
+ Provides-Extra: all
16
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.0.0-beta.1 ; extra == 'all'
17
+
18
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
19
+
20
+ # winrt-Windows.System.Threading
21
+
22
+ Windows Runtime (WinRT) APIs for for the `Windows.System.Threading` namespace.
23
+
24
+ This package provides the `winrt.windows.system.threading` module.
@@ -0,0 +1,7 @@
1
+ winrt/_winrt_windows_system_threading.cp39-win_arm64.pyd,sha256=TUZmFg4Ezl95EOPUnhuYYrTUYZh6ipDhSZK_fTZZeEE,68096
2
+ winrt/_winrt_windows_system_threading.pyi,sha256=87uU_K-g1sWV3f4qCJtCOfddA5mHxl_fDXhN-SL0VR0,2305
3
+ winrt/windows/system/threading/__init__.py,sha256=W_rajvVv5mdQAMMXuN31ztgHai_1ZL8kM43k3JEkqvc,907
4
+ winrt_Windows.System.Threading-2.0.0b1.dist-info/METADATA,sha256=vcNt9s8iSHwJae0JUscse9ui-VCyGzvuMEiAK341X3s,1004
5
+ winrt_Windows.System.Threading-2.0.0b1.dist-info/WHEEL,sha256=PrHTG687fNsk7jS4Y-tLXN-3gpnf3wReNnzEPkeWHK0,100
6
+ winrt_Windows.System.Threading-2.0.0b1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
7
+ winrt_Windows.System.Threading-2.0.0b1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.41.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp39-cp39-win_arm64
5
+