Skip to content

Commit

Permalink
docs: include a warning note for statusOf (#363)
Browse files Browse the repository at this point in the history
* docs: include a warning note for statusOf

* docs: polish

---------

Co-authored-by: Paul Razvan Berg <[email protected]>
  • Loading branch information
smol-ninja and PaulRBerg authored Jan 7, 2025
1 parent 0fdd65a commit 32ac99c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/interfaces/ISablierFlow.sol
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ interface ISablierFlow is

/// @notice Returns the stream's status.
/// @dev Reverts if `streamId` references a null stream.
/// Integrators should exercise caution when depending on the return value of this function as streams can be paused
/// and resumed at any moment.
/// @param streamId The stream ID for the query.
function statusOf(uint256 streamId) external view returns (Flow.Status status);

Expand Down

0 comments on commit 32ac99c

Please sign in to comment.