Skip to content

Commit

Permalink
Added comment on replyasync with nullptr
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Apr 25, 2024
1 parent 8c86e3d commit e4b0010
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/interaction-model/InvokeResponder.h
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,10 @@ class InvokeReply
// NOTE: Each InvokeReply is associated with a separate `CommandDataIB` within batch
// commands. When replying asynchronously, each InvokeReply will set the response
// data for the given commandpath/ref only.
//
// IF empty pointer is returned, insufficient memory to reply async is available and
// this should be handled (e.g. by returning an error to the handler/replying with
// an errorcode synchronously).
virtual std::unique_ptr<InvokeReply> ReplyAsync(BitFlags<ReplyAsyncFlags> flags) = 0;
};

Expand Down

0 comments on commit e4b0010

Please sign in to comment.