/// <summary> /// Processes the delayed actions, executes them as necessary and sends history statistics. /// </summary> public async Task ProcessDelayedActionsAsync(bool flushHistory = true) { await SdkEngine.ProcessDelayedActionsAsync(); // if (flushHistory) // { await SdkEngine.FlushHistory(); // } Finished?.Invoke(this, BackgroundWorkerType.TimedWorker); }
/// <summary> /// Sends all pending history elements. /// </summary> public async Task FlushHistory() { await SdkEngine.FlushHistory(); }