Skip to content

Instantly share code, notes, and snippets.

@shinayser
shinayser / isolate_compute.dart
Created July 29, 2019 22:00
Easy access to Isolate's computing function.
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:developer';
import 'dart:isolate';
import 'package:meta/meta.dart';
const bool kReleaseMode =