Table of Contents

Enum NetworkMode

Namespace
Velvet
Assembly
Velvet.Docs.dll

TanStack's networkMode option: whether a lost connection pauses an operation.

public enum NetworkMode

Fields

Always = 1

Never waits for a connection.

OfflineFirst = 2

Makes the first attempt whether or not a connection exists, and waits for one before each retry.

Online = 0

Waits for a connection before the first attempt and before each retry. TanStack's default.