JuliaPy / JuliaPy/PyCall.jl

Async function call

Offen
#262 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Julia
Sterne
1.5k
Forks
186
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi, is there a way to make a python function call async, i.e. integrate with julia's async capabilities. For e.g. while making a slow network request in a function call, the code can jump to some other task. I suppose once julia has proper threading, one could just launch a new thread for such a call.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

The issue names no files, tests, or entry points. First determine the intended PyCall.jl API for allowing a Python call, such as a slow network request, to yield to another Julia task, and clarify the threading or task-scheduling constraints. Done should include an agreed design, implementation scope, and tests demonstrating that another task can run while the Python call is in progress.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
julia, python
Bereich
api, backend
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.