Skip to content

Commit

Permalink
Update content/docs/migration_1.0/Python.md
Browse files Browse the repository at this point in the history
Co-authored-by: oteffahi <[email protected]>
  • Loading branch information
wyfo and oteffahi authored Oct 11, 2024
1 parent 33ed957 commit 33680aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion content/docs/migration_1.0/Python.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ with zenoh.open(zenoh.Config()) as session:
# no need to declare a variable
session.declare_subscriber("my/keyepxr", lambda s: print(s), background=True)
sleep(10) # subscriber stays in background and its callback can be called
# `session.close()` will be called at the end of the block, and it will undeclare the subscriber
# `session.close()` will be called at the end of the block,
# and it will undeclare the subscriber
```

## Value is gone, long live ZBytes
Expand Down

0 comments on commit 33680aa

Please sign in to comment.