Skip to content
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

Update demand type to allow for the default demand size syntax #768

Merged
merged 2 commits into from
Mar 14, 2024

Conversation

Noarkhh
Copy link
Contributor

@Noarkhh Noarkhh commented Mar 4, 2024

No description provided.

@Noarkhh Noarkhh requested a review from mat-hek as a code owner March 4, 2024 13:50
@mat-hek mat-hek added the no-changelog This label has to be added if changes from the PR are not meant to be placed in the CHANGELOG.md label Mar 5, 2024
@@ -82,11 +82,12 @@ defmodule Membrane.Element.Action do
guaranteed not to receive more data than demanded.

Demand size can be either a non-negative integer, that overrides existing demand,
or a function that is passed current demand, and is to return the new demand.
or a function that is passed current demand, and is to return the new demand. In case only pad
is specified, the demand size defaults to a value of 1.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
is specified, the demand size defaults to a value of 1.
is specified, the demand size defaults to 1.

@Noarkhh Noarkhh requested a review from FelonEkonom March 6, 2024 10:52
@Noarkhh Noarkhh merged commit 2ed8f4d into master Mar 14, 2024
5 of 6 checks passed
@Noarkhh Noarkhh deleted the update-demand-type branch March 14, 2024 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog This label has to be added if changes from the PR are not meant to be placed in the CHANGELOG.md
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants