MCPcopy Index your code
hub / github.com/coder/coder / StopRecording

Method StopRecording

agent/x/agentdesktop/desktop.go:80–80  ·  view source on GitHub ↗

StopRecording finalizes the recording identified by the given ID. Idempotent - safe to call on an already-stopped recording. Returns a RecordingArtifact that the caller can stream. The caller must close the artifact when done. Returns an error if the recording ID is unknown.

(ctx context.Context, recordingID string)

Source from the content-addressed store, hash-verified

78 // caller must close the artifact when done. Returns an error if
79 // the recording ID is unknown.
80 StopRecording(ctx context.Context, recordingID string) (*RecordingArtifact, error)
81
82 // Close shuts down the desktop session and cleans up resources.
83 Close() error

Callers 2

handleRecordingStopMethod · 0.65
StopRecordingMethod · 0.65

Implementers 2

fakeDesktopagent/x/agentdesktop/api_test.go
portableDesktopagent/x/agentdesktop/portabledesktop.g

Calls

no outgoing calls

Tested by 1

StopRecordingMethod · 0.52