Skip to content
This repository was archived by the owner on Jun 22, 2025. It is now read-only.

Commit c18d7eb

Browse files
authored
Updated spawn function to return Greenlet object (#300)
1 parent 65c1423 commit c18d7eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

eel/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def sleep(seconds):
175175

176176

177177
def spawn(function, *args, **kwargs):
178-
gvt.spawn(function, *args, **kwargs)
178+
return gvt.spawn(function, *args, **kwargs)
179179

180180
# Bottle Routes
181181

0 commit comments

Comments
 (0)