class
GRPC::Transport::SendBudget
- GRPC::Transport::SendBudget
- Reference
- Object
Overview
Broadcasts capacity changes to all waiting senders. Reservation happens outside nghttp2 callbacks; releasing it never blocks.
Defined in:
grpc/transport/send_budget.crConstructors
Instance Method Summary
- #acquire(bytes : Int32, closed : ::Channel(Nil), ctx : ClientContext | Nil) : Nil
- #release(bytes : Int32) : Nil
Constructor Detail
Instance Method Detail
def acquire(bytes : Int32, closed : ::Channel(Nil), ctx : ClientContext | Nil) : Nil
#