Skip to content

Commit

Permalink
Add desired_count/2 to the behavior, it was forgotten to be added
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdichev-firework committed Sep 3, 2024
1 parent 992b4a6 commit 0270d43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/flame/pool/strategy.ex
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ defmodule FLAME.Pool.Strategy do
) ::
Pool.t()

@callback desired_count(state :: Pool.t(), opts :: Keyword.t()) :: non_neg_integer()

@callback has_unmet_servicable_demand?(state :: Pool.t(), opts :: Keyword.t()) :: boolean()
end

0 comments on commit 0270d43

Please sign in to comment.