mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2025-12-31 05:39:41 -06:00
* feat: snippets * feat: first couple paragraphs * feat: flesh out hatchet examples * fix: one more * feat: log view * fix: cleanup * feat: another section * fix: fmt * feat: debugging section * fix: proofread * fix: lint * chore: gen * fix: copilot * fix: copilot * feat: add blog post link * fix: feedback * chore: sdk ver * chore: gen * fix: ugh
21 lines
303 B
Python
21 lines
303 B
Python
# > Trigger
|
|
import time
|
|
|
|
from examples.blocked_async.blocking_example_worker import (
|
|
blocking,
|
|
non_blocking_async,
|
|
non_blocking_sync,
|
|
)
|
|
|
|
non_blocking_sync.run_no_wait()
|
|
non_blocking_async.run_no_wait()
|
|
|
|
time.sleep(1)
|
|
|
|
blocking.run_no_wait()
|
|
|
|
time.sleep(1)
|
|
|
|
non_blocking_sync.run_no_wait()
|
|
|