winrt-Windows.System.Threading 2.3.0__cp313-cp313-win32.whl → 3.1.0__cp313-cp313-win32.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.
- winrt/_winrt_windows_system_threading.cp313-win32.pyd +0 -0
- winrt/_winrt_windows_system_threading.pyi +20 -19
- winrt/windows/system/threading/__init__.py +7 -6
- {winrt_Windows.System.Threading-2.3.0.dist-info → winrt_windows_system_threading-3.1.0.dist-info}/METADATA +6 -6
- winrt_windows_system_threading-3.1.0.dist-info/RECORD +8 -0
- {winrt_Windows.System.Threading-2.3.0.dist-info → winrt_windows_system_threading-3.1.0.dist-info}/WHEEL +1 -1
- winrt_Windows.System.Threading-2.3.0.dist-info/RECORD +0 -8
- {winrt_Windows.System.Threading-2.3.0.dist-info → winrt_windows_system_threading-3.1.0.dist-info}/top_level.txt +0 -0
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -17,36 +17,37 @@ from winrt.windows.system.threading import TimerDestroyedHandler, TimerElapsedHa
|
|
|
17
17
|
Self = typing.TypeVar('Self')
|
|
18
18
|
|
|
19
19
|
@typing.final
|
|
20
|
-
class ThreadPool_Static(
|
|
21
|
-
|
|
22
|
-
def run_async(cls, handler:
|
|
23
|
-
|
|
24
|
-
def
|
|
25
|
-
|
|
26
|
-
def
|
|
20
|
+
class ThreadPool_Static(winrt._winrt.IInspectable_Static):
|
|
21
|
+
# Windows.Foundation.IAsyncAction Windows.System.Threading.ThreadPool::RunAsync(Windows.System.Threading.WorkItemHandler)
|
|
22
|
+
def run_async(cls, handler: WorkItemHandler, /) -> windows_foundation.IAsyncAction: ...
|
|
23
|
+
# Windows.Foundation.IAsyncAction Windows.System.Threading.ThreadPool::RunAsync(Windows.System.Threading.WorkItemHandler,Windows.System.Threading.WorkItemPriority,Windows.System.Threading.WorkItemOptions)
|
|
24
|
+
def run_with_priority_and_options_async(cls, handler: WorkItemHandler, priority: WorkItemPriority, options: WorkItemOptions, /) -> windows_foundation.IAsyncAction: ...
|
|
25
|
+
# Windows.Foundation.IAsyncAction Windows.System.Threading.ThreadPool::RunAsync(Windows.System.Threading.WorkItemHandler,Windows.System.Threading.WorkItemPriority)
|
|
26
|
+
def run_with_priority_async(cls, handler: WorkItemHandler, priority: WorkItemPriority, /) -> windows_foundation.IAsyncAction: ...
|
|
27
27
|
|
|
28
28
|
@typing.final
|
|
29
29
|
class ThreadPool(winrt.system.Object, metaclass=ThreadPool_Static):
|
|
30
30
|
pass
|
|
31
31
|
|
|
32
32
|
@typing.final
|
|
33
|
-
class ThreadPoolTimer_Static(
|
|
34
|
-
|
|
35
|
-
def create_periodic_timer(cls, handler:
|
|
36
|
-
|
|
37
|
-
def
|
|
38
|
-
|
|
39
|
-
def create_timer(cls, handler:
|
|
40
|
-
|
|
41
|
-
def
|
|
33
|
+
class ThreadPoolTimer_Static(winrt._winrt.IInspectable_Static):
|
|
34
|
+
# Windows.System.Threading.ThreadPoolTimer Windows.System.Threading.ThreadPoolTimer::CreatePeriodicTimer(Windows.System.Threading.TimerElapsedHandler,Windows.Foundation.TimeSpan)
|
|
35
|
+
def create_periodic_timer(cls, handler: TimerElapsedHandler, period: datetime.timedelta, /) -> ThreadPoolTimer: ...
|
|
36
|
+
# Windows.System.Threading.ThreadPoolTimer Windows.System.Threading.ThreadPoolTimer::CreatePeriodicTimer(Windows.System.Threading.TimerElapsedHandler,Windows.Foundation.TimeSpan,Windows.System.Threading.TimerDestroyedHandler)
|
|
37
|
+
def create_periodic_timer_with_completion(cls, handler: TimerElapsedHandler, period: datetime.timedelta, destroyed: TimerDestroyedHandler, /) -> ThreadPoolTimer: ...
|
|
38
|
+
# Windows.System.Threading.ThreadPoolTimer Windows.System.Threading.ThreadPoolTimer::CreateTimer(Windows.System.Threading.TimerElapsedHandler,Windows.Foundation.TimeSpan)
|
|
39
|
+
def create_timer(cls, handler: TimerElapsedHandler, delay: datetime.timedelta, /) -> ThreadPoolTimer: ...
|
|
40
|
+
# Windows.System.Threading.ThreadPoolTimer Windows.System.Threading.ThreadPoolTimer::CreateTimer(Windows.System.Threading.TimerElapsedHandler,Windows.Foundation.TimeSpan,Windows.System.Threading.TimerDestroyedHandler)
|
|
41
|
+
def create_timer_with_completion(cls, handler: TimerElapsedHandler, delay: datetime.timedelta, destroyed: TimerDestroyedHandler, /) -> ThreadPoolTimer: ...
|
|
42
42
|
|
|
43
43
|
@typing.final
|
|
44
44
|
class ThreadPoolTimer(winrt.system.Object, metaclass=ThreadPoolTimer_Static):
|
|
45
|
-
|
|
46
|
-
def _from(obj: winrt.system.Object, /) -> ThreadPoolTimer: ...
|
|
45
|
+
# System.Void Windows.System.Threading.ThreadPoolTimer::Cancel()
|
|
47
46
|
def cancel(self) -> None: ...
|
|
47
|
+
# Windows.Foundation.TimeSpan Windows.System.Threading.ThreadPoolTimer::get_Delay()
|
|
48
48
|
@_property
|
|
49
49
|
def delay(self) -> datetime.timedelta: ...
|
|
50
|
+
# Windows.Foundation.TimeSpan Windows.System.Threading.ThreadPoolTimer::get_Period()
|
|
50
51
|
@_property
|
|
51
52
|
def period(self) -> datetime.timedelta: ...
|
|
52
53
|
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
|
|
2
2
|
|
|
3
3
|
import enum
|
|
4
4
|
import typing
|
|
5
5
|
import uuid as _uuid
|
|
6
6
|
|
|
7
7
|
import winrt.system
|
|
8
|
-
from winrt import
|
|
8
|
+
from winrt._winrt_windows_system_threading import (
|
|
9
|
+
ThreadPool,
|
|
10
|
+
ThreadPoolTimer,
|
|
11
|
+
)
|
|
9
12
|
|
|
10
13
|
if typing.TYPE_CHECKING:
|
|
11
14
|
import winrt.windows.foundation as windows_foundation
|
|
@@ -29,8 +32,6 @@ class WorkItemPriority(enum.IntEnum):
|
|
|
29
32
|
NORMAL = 0
|
|
30
33
|
HIGH = 1
|
|
31
34
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
TimerDestroyedHandler = typing.Callable[[typing.Optional[ThreadPoolTimer]], None]
|
|
35
|
-
TimerElapsedHandler = typing.Callable[[typing.Optional[ThreadPoolTimer]], None]
|
|
35
|
+
TimerDestroyedHandler = typing.Callable[[ThreadPoolTimer], None]
|
|
36
|
+
TimerElapsedHandler = typing.Callable[[ThreadPoolTimer], None]
|
|
36
37
|
WorkItemHandler = typing.Callable[["windows_foundation.IAsyncAction"], None]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: winrt-Windows.System.Threading
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
-
License: MIT
|
|
5
|
+
License-Expression: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
7
|
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
@@ -10,11 +10,11 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime
|
|
15
|
+
Requires-Dist: winrt-runtime==3.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.1.0; extra == "all"
|
|
18
18
|
|
|
19
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
20
20
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_system_threading.cp313-win32.pyd,sha256=YKkhn45qhCEcEf690S5ICEsVr1UxKwoytnBZZXYbw1E,62976
|
|
2
|
+
winrt/_winrt_windows_system_threading.pyi,sha256=U6zlUOke8l_b49VjZ-bxOr1dBSCHqJpbsNdlQ09irok,3521
|
|
3
|
+
winrt/windows/system/threading/__init__.py,sha256=d4DCqdnvVQtK4REeHBxijwGN8c2d37mgc87Q_-m5Hig,867
|
|
4
|
+
winrt/windows/system/threading/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_system_threading-3.1.0.dist-info/METADATA,sha256=JW5h8jc8vYBF2ZGr7QV8JyOei5Yc9MDK3MzexGwVYIA,1049
|
|
6
|
+
winrt_windows_system_threading-3.1.0.dist-info/WHEEL,sha256=iuBtox58ZfmdZzG-BEHKFn_UiBPbBDtT4b67THCTeoc,97
|
|
7
|
+
winrt_windows_system_threading-3.1.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_system_threading-3.1.0.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
winrt/_winrt_windows_system_threading.cp313-win32.pyd,sha256=vzDMy-2imB329f94SsS8mkT2INd-Bkd2ITUzTvPFiKc,49664
|
|
2
|
-
winrt/_winrt_windows_system_threading.pyi,sha256=x-c9LtBHPT5ElKNMUGtnYN3TYk_pVO2ZkLjAKWrsF-4,2287
|
|
3
|
-
winrt/windows/system/threading/__init__.py,sha256=4IbJwqSDvslynvvFjfWfDPlFxXsRlfm5yAtLNE9zcWk,982
|
|
4
|
-
winrt/windows/system/threading/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
-
winrt_Windows.System.Threading-2.3.0.dist-info/METADATA,sha256=rrKH8NznLHxGxIekQgXuK5hsRub5alyXq7K0rGToGqo,1047
|
|
6
|
-
winrt_Windows.System.Threading-2.3.0.dist-info/WHEEL,sha256=grkPFx6wDuz3V_wTCWikc17io-qSpFV10-6uWRzUPb0,97
|
|
7
|
-
winrt_Windows.System.Threading-2.3.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
-
winrt_Windows.System.Threading-2.3.0.dist-info/RECORD,,
|
|
File without changes
|