public class MockKCancellationRegistry
| Modifier and Type | Class and Description |
|---|---|
static class |
MockKCancellationRegistry.RegistryPerType |
| Modifier and Type | Field and Description |
|---|---|
static MockKCancellationRegistry |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelAll() |
kotlin.jvm.functions.Function0<kotlin.Unit> |
popCancellation() |
boolean |
pushCancellation(kotlin.jvm.functions.Function0<kotlin.Unit> cancellation) |
MockKCancellationRegistry.RegistryPerType |
subRegistry(MockKCancellationRegistry.Type type) |
public static MockKCancellationRegistry INSTANCE
public MockKCancellationRegistry.RegistryPerType subRegistry(MockKCancellationRegistry.Type type)
public boolean pushCancellation(kotlin.jvm.functions.Function0<kotlin.Unit> cancellation)
public kotlin.jvm.functions.Function0<kotlin.Unit> popCancellation()
public void cancelAll()