Clarify concurrency of Respond.

geesefs-0-30-9
Aaron Jacobs 2015-05-05 09:53:21 +10:00
parent c0477fd859
commit ccde3b5ce3
1 changed files with 3 additions and 0 deletions

View File

@ -41,6 +41,9 @@ type Op interface {
// Repond to the operation with the supplied error. If there is no error, set
// any necessary output fields and then call Respond(nil).
//
// Once this is invoked, you must exclude any further calls to any method of
// this op.
Respond(error)
// Log information tied to this operation, with semantics equivalent to