Function
_single_incoming_loop
(
task_group: TaskGroup,
layout: LayoutType[LayoutUpdateMessage, LayoutEventMessage],
recv: RecvCoroutine,
)
Source from the content-addressed store, hash-verified
| 73 | |
| 74 | |
| 75 | async def _single_incoming_loop( |
| 76 | task_group: TaskGroup, |
| 77 | layout: LayoutType[LayoutUpdateMessage, LayoutEventMessage], |
| 78 | recv: RecvCoroutine, |
| 79 | ) -> None: |
| 80 | while True: |
| 81 | # We need to fire and forget here so that we avoid waiting on the completion |
| 82 | # of this event handler before receiving and running the next one. |
| 83 | task_group.start_soon(layout.deliver, await recv()) |
Callers
nothing calls this directly
Tested by
no test coverage detected