apply

abstract fun apply(contextId: <Error class: unknown class>, suggestions: List<T>)

Apply suggestions in bulk. Implementations may batch the write to the underlying store (Drivine, DICE repo, app-domain persistence) — the drainer hands the full group at once.

Parameters

contextId

stable per-user / per-workspace partition id the suggestions belong to. Mirrors the ContextId partitioning used elsewhere in DICE.