Skip to content

Support IDistributedCache interface (asynchronous) #4

@Dresel

Description

@Dresel

Related to #3.

For the second iteration, the following IDistributedCache methods should be used if the method that is going to be weaved is async. If a CancellationToken is passed to this method it should also be passed to the IDistributedCache methods.

// IDistributedCache interface
public System.Threading.Tasks.Task<byte[]> GetAsync (string key, System.Threading.CancellationToken token = default);

// DistributedCacheExtensions
public static System.Threading.Tasks.Task SetAsync (this Microsoft.Extensions.Caching.Distributed.IDistributedCache cache, string key, byte[] value, System.Threading.CancellationToken token = default);

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions