on

abstract fun <T, S> on(id: MutationId<T, S>, mutate: FakeMutationMutate<T, S>)

Mocks the mutation process corresponding to MutationId.


abstract fun <T> on(id: QueryId<T>, fetch: FakeQueryFetch<T>)

Mocks the query process corresponding to QueryId.


abstract fun <T, S> on(id: InfiniteQueryId<T, S>, fetch: FakeInfiniteQueryFetch<T, S>)

Mocks the query process corresponding to InfiniteQueryId.