Document legacy one-shot API removals

Add the PR #484 towncrier fragment for removing
`ActorNursery.run_in_actor()`, `Portal.wait_for_result()` and
`Portal.result()`.

Point callers to `to_actor.run()`, `Portal.run()` or
`Portal.open_context()` according to task ownership and dialog shape.

Review: PR #484 (OpenCode)
https://github.com/goodboy/tractor/pull/484#pullrequestreview-5025383596

(this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`))
drop_ria_nursery
Gud Boi 2026-08-25 23:03:20 -04:00
parent dfdaf2b1c1
commit 8739c5fadb
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
Remove legacy ``ActorNursery.run_in_actor()``,
``Portal.wait_for_result()`` and ``Portal.result()``. Use
``tractor.to_actor.run()`` for caller-owned one-shot tasks,
``Portal.run()`` for daemon RPC results or ``Portal.open_context()``
for linked task dialogs.