add basic structure.

This commit is contained in:
2025-09-28 19:46:23 +02:00
parent d742a0c0ce
commit 1761de8acb
12 changed files with 1064 additions and 0 deletions

13
mathema/actor.py Normal file
View File

@@ -0,0 +1,13 @@
import asyncio
class Actor:
def __init__(self, name: str):
self.name = name
self.inbox = asyncio.Queue()
async def send(self, msg):
await self.inbox.put(msg)
async def run(self):
raise NotImplementedError