protected void Accept(RoutingContext <T> context, Action <T> callback) { _engine.Add(context.Priority, () => { if (!context.IsAlive) { return; } T body = context.Body; context.Evict(); if (_disableOnActivation) { _enabled = false; } callback(body); }); }
public void Evict() { _input.Evict(); }