Async APIs
Learn about Async API Changes
Deprecation Timeline
Version
Status
Migration Guide for Custom Repository Implementations
// Before (v16)
protected override TEntity GetImpl(TId id)
{
return _myDataSource.Get(id);
}
// After (v17+)
protected override async Task<TEntity> GetImplAsync(TId id, CancellationToken cancellationToken)
{
return await _myDataSource.GetAsync(id, cancellationToken);
}Last updated
Was this helpful?