MutationCache

open external class MutationCache(config: MutationCacheConfig = definedExternally) : Subscribable<MutationCacheListener> (source)

Constructors

Link copied to clipboard
constructor(config: MutationCacheConfig = definedExternally)

Properties

Link copied to clipboard
open external var config: MutationCacheConfig

Functions

Link copied to clipboard
open external fun add(mutation: Mutation<*, *, *, *>)
Link copied to clipboard
open external fun canRun(mutation: Mutation<*, *, *, *>): Boolean
Link copied to clipboard
open external fun clear()
Link copied to clipboard
Link copied to clipboard
open external fun findAll(filters: MutationFilters<*, *, *, *> = definedExternally): ReadonlyArray<Mutation<*, *, *, *>>
Link copied to clipboard
open external fun getAll(): ReadonlyArray<Mutation<*, *, *, *>>
Link copied to clipboard
open external fun hasListeners(): Boolean
Link copied to clipboard
open external fun notify(event: MutationCacheNotifyEvent)
Link copied to clipboard
open external fun remove(mutation: Mutation<*, *, *, *>)
Link copied to clipboard
open external fun resumePausedMutations(): Promise<*>
Link copied to clipboard
open external fun runNext(mutation: Mutation<*, *, *, *>): Promise<*>
Link copied to clipboard
open external fun subscribe(listener: MutationCacheListener): () -> Unit