disable method

Future<void> disable(
  1. String name, {
  2. UserCredentials? userCredentials,
})

Disable given projection.

This operation save the projection's checkpoint. The name identifies the projection to disable.

Implementation

Future<void> disable(
  String name, {
  UserCredentials? userCredentials,
}) async {
  return $runRequest(
    () => _disable(
      name,
      writeCheckpoint: true,
      userCredentials: userCredentials,
    ),
  );
}