mirror of
https://github.com/openai/codex.git
synced 2026-09-20 12:47:38 +00:00
code-mode: clean up terminal cell dispatch gates
This commit is contained in:
@@ -61,6 +61,12 @@ pub trait CodeModeSessionDelegate: Send + Sync {
|
||||
text: String,
|
||||
cancellation_token: CancellationToken,
|
||||
) -> NotificationFuture<'a>;
|
||||
|
||||
/// Reports that a cell has reached its terminal state and will issue no more callbacks.
|
||||
///
|
||||
/// Implementations must keep this non-blocking. The session does not wait for an
|
||||
/// acknowledgement or retry delivery after a transport failure.
|
||||
fn cell_closed(&self, cell_id: &CellId);
|
||||
}
|
||||
|
||||
/// A stateful code-mode session owned by one Codex thread.
|
||||
|
||||
Reference in New Issue
Block a user