BatchBlock<T>.TriggerBatch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Triggers the BatchBlock<T> to initiate a batching operation even if the number of currently queued or postponed items is less than the BatchSize.
public:
void TriggerBatch();
public void TriggerBatch ();
member this.TriggerBatch : unit -> unit
Public Sub TriggerBatch ()
Remarks
In greedy mode, a batch will be generated from queued items even if fewer exist than the batch size.
In non-greedy mode, a batch will be generated asynchronously from postponed items even if fewer items than specified by the batch size can be consumed.
Applies to
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de