mirror of
https://github.com/turbot/steampipe.git
synced 2026-02-14 01:00:10 -05:00
11 lines
208 B
Go
11 lines
208 B
Go
package utils
|
|
|
|
import (
|
|
"context"
|
|
"github.com/turbot/steampipe-plugin-sdk/v4/error_helpers"
|
|
)
|
|
|
|
func IsContextCancelled(ctx context.Context) bool {
|
|
return error_helpers.IsContextCancelledError(ctx.Err())
|
|
}
|