beam me up.
Simple Queue
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Using Beam’s distributed Queue to coordinate between tasks
beam me up.
from beam import Queue, function
@function()
def first():
q = Queue(name="q")
q.put("beam me up")
return
@function()
def second():
q = Queue(name="q")
print(q.pop())
return
if __name__ == '__main__':
first.remote()
second.local()
Was this page helpful?