/// <summary> /// Publish the specified topic and message async. /// </summary> /// <returns>The async.</returns> /// <param name="topic">Topic.</param> /// <param name="message">Message.</param> /// <param name="cancellationToken">Cancellation token.</param> public Task PublishAsync(string topic, EasyCachingMessage message, CancellationToken cancellationToken = default(CancellationToken)) { return(Task.CompletedTask); }
public Task PublishAsync(string topic, EasyCachingMessage message, CancellationToken cancellationToken = default) => throw _exception;
/// <summary> /// Publish the specified topic and message. /// </summary> /// <param name="topic">Topic.</param> /// <param name="message">Message.</param> public void Publish(string topic, EasyCachingMessage message) { }
public void Publish(string topic, EasyCachingMessage message) => throw _exception;