/// <summary> /// Signals the processor that the application is shutting down. The processor will perform a "last call" for pending requests. /// </summary> public static void Flush() { RestRequestProcessor.Flush(); }
/// <summary> /// Signals the processor that the application is shutting down. The processor will perform a "last call" for pending requests. /// </summary> public static Task Flush() { return(RestRequestProcessor.Flush()); }
/// <summary> /// Signals the processor that the application is shutting down. The processor will perform a "last call" for pending requests. /// </summary> public static async Task Flush() { await LicenseHelpers.Batch(RestRequestProcessor.Flush()); }
/// <summary> /// Signals the processor that the application is shutting down. The processor will perform a "last call" for pending requests. /// </summary> public static async Task Flush() { await RestRequestProcessor.Flush(); LicenseHelpers.SaveCurrentState(); }