enableCache method

Future<void> enableCache(
  1. bool state
)

Enable or disable preset caching. When enabled, parsed patterns are kept in memory to reduce latency on repeated playback.

Implementation

Future<void> enableCache(bool state) =>
    PulsarPlatform.instance.enableCache(state);