collect method

Future<DataFrame> collect({
  1. ExecutionOptions options = const ExecutionOptions(),
})

Implementation

Future<DataFrame> collect({
  ExecutionOptions options = const ExecutionOptions(),
}) async {
  final job = await submit(options: options);
  try {
    await job.wait();
    return await job.take();
  } finally {
    job.close();
  }
}