ironflock 1.0.4__py3-none-any.whl → 1.0.6__py3-none-any.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.
- ironflock/__init__.py +1 -1
- ironflock/ironflock.py +2 -4
- {ironflock-1.0.4.dist-info → ironflock-1.0.6.dist-info}/METADATA +1 -1
- ironflock-1.0.6.dist-info/RECORD +8 -0
- ironflock-1.0.4.dist-info/RECORD +0 -8
- {ironflock-1.0.4.dist-info → ironflock-1.0.6.dist-info}/WHEEL +0 -0
- {ironflock-1.0.4.dist-info → ironflock-1.0.6.dist-info}/licenses/LICENSE +0 -0
- {ironflock-1.0.4.dist-info → ironflock-1.0.6.dist-info}/top_level.txt +0 -0
ironflock/__init__.py
CHANGED
ironflock/ironflock.py
CHANGED
|
@@ -44,10 +44,8 @@ class IronFlock:
|
|
|
44
44
|
async def onJoin(session, details):
|
|
45
45
|
print("component joined")
|
|
46
46
|
self._session = session
|
|
47
|
-
self._main_task = asyncio.create_task(mainFunc())
|
|
48
|
-
|
|
49
47
|
if self.mainFunc:
|
|
50
|
-
|
|
48
|
+
self._main_task = asyncio.create_task(mainFunc())
|
|
51
49
|
|
|
52
50
|
@self._component.on_disconnect
|
|
53
51
|
@self._component.on_leave
|
|
@@ -127,7 +125,7 @@ class IronFlock:
|
|
|
127
125
|
res = await self._session.call('ironflock.location_service.update', payload, **extra)
|
|
128
126
|
return res
|
|
129
127
|
|
|
130
|
-
async def register_function(self, topic: str, func
|
|
128
|
+
async def register_function(self, topic: str, func):
|
|
131
129
|
"""Registers a function to be called when a message is received on the given topic.
|
|
132
130
|
|
|
133
131
|
Args:
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
ironflock/AutobahnConnection.py,sha256=clwEsptqQFjDFn4dUGN4bQyb1cOnPmmNjetfTrRqckY,3687
|
|
2
|
+
ironflock/__init__.py,sha256=1M027rVxbNQ8Txae1I1ahwEnjHNQYOWALiJsfmUV5_0,264
|
|
3
|
+
ironflock/ironflock.py,sha256=V_6uP0jVyuJUKJpAprLvhmQp9iJk2YpR1YWHZ_EnEIY,6871
|
|
4
|
+
ironflock-1.0.6.dist-info/licenses/LICENSE,sha256=GpUKjPB381nmkbBIdX74vxXhsNZaNpngTOciss39Pjk,1073
|
|
5
|
+
ironflock-1.0.6.dist-info/METADATA,sha256=8lyEFpRQ_DOUDuEXHCBpTT8COjF4Sr-UF4bJMw4_NPE,2764
|
|
6
|
+
ironflock-1.0.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
7
|
+
ironflock-1.0.6.dist-info/top_level.txt,sha256=hmMdMPJuvnOTlFKYl1XQOn81vg1DE2LT7xrEXgyxcRA,10
|
|
8
|
+
ironflock-1.0.6.dist-info/RECORD,,
|
ironflock-1.0.4.dist-info/RECORD
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
ironflock/AutobahnConnection.py,sha256=clwEsptqQFjDFn4dUGN4bQyb1cOnPmmNjetfTrRqckY,3687
|
|
2
|
-
ironflock/__init__.py,sha256=RfMkEzHFCMkCIwKQ3BCeU_VakiPQWYFwnBcslir_nME,264
|
|
3
|
-
ironflock/ironflock.py,sha256=71MnYhEmCGJeQbFmwBXi73t-vh7fh2IanA1PTClS0gA,6916
|
|
4
|
-
ironflock-1.0.4.dist-info/licenses/LICENSE,sha256=GpUKjPB381nmkbBIdX74vxXhsNZaNpngTOciss39Pjk,1073
|
|
5
|
-
ironflock-1.0.4.dist-info/METADATA,sha256=G46RWQBUQbKN5nwIApcY9sDzLxYG3C0W95dsw21hRMY,2764
|
|
6
|
-
ironflock-1.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
7
|
-
ironflock-1.0.4.dist-info/top_level.txt,sha256=hmMdMPJuvnOTlFKYl1XQOn81vg1DE2LT7xrEXgyxcRA,10
|
|
8
|
-
ironflock-1.0.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|