Table of Contents

Method ConsumeAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

ConsumeAsync()

Consumes this entitlement if it's consumable.

public Task<bool> ConsumeAsync()

Returns

Task<bool>

Whether the entitlement was consumed.

Exceptions

InvalidOperationException

Thrown if the entitlement is not consumable.