after static method

Future after(
  1. String cmd
)

Implementation

static Future after(String cmd) async {
  final task = _map[cmd];
  if (task == null) return;
  if (task.completer.isCompleted) return;
  /*
  if (cmd.startsWith('upload ')) {
    final hash = cmd.substring(7);
    if (FData.cache.containsKey(hash)) {
      return completer.complete();
    }
  }
  */
  return task.completer;
}