New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(platform-browser): add isEmpty
method to the TransferState
class
#46915
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewed-for: public-api
…lass This commit adds the `isEmpty` method to the `TransferState` class to make it possible to check whether the state is empty or not. This is helpful in situations when the `TransferState` should be serialized and the content is transferred to the client (if the state is empty - certain operations can be omitted).
5470ca7
to
ee08fbc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-for: fw-core, integration-tests, public-api
We really need fewer approval groups.
This PR was merged into the repository by commit 07606e3. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This commit adds the
isEmpty
method to theTransferState
class to make it possible to check whether the state is empty or not. This is helpful in situations when theTransferState
should be serialized and the content is transferred to the client (if the state is empty - certain operations can be omitted).PR Type
What kind of change does this PR introduce?
Does this PR introduce a breaking change?