Skip to main content

test_prompt

Function test_prompt 

Source
fn test_prompt(kind: PendingInteractionKind) -> Option<PendingInteractionSlot>
Expand description

test_permission or test_question with a receiver nobody keeps.

None for every other kind: each parks in a registry of the workspace’s own rather than in the session’s pending set, and the seeders below register it there instead - so a test that wants the HELD state gets the real one.