InterruptKind

public enum InterruptKind
extension InterruptKind: Equatable, Hashable

What should be interrupted when [SuggestStore::interrupt] is called?

  • Interrupt read operations like [SuggestStore::query]

    Declaration

    Swift

    case read
  • Interrupt write operations. This mostly means [SuggestStore::ingest], but [SuggestStore::dismiss_suggestion] may also be interrupted.

    Declaration

    Swift

    case write
  • Interrupt both read and write operations,

    Declaration

    Swift

    case readWrite