fetch method

Future fetch(input, [ Map init ])

Source

Future fetch(/*RequestInfo*/ input, [Map init]) {
  if (init != null) {
    return _blink.BlinkWorkerGlobalScope.instance
        .fetch_Callback_2_(this, input, convertDartToNative_Dictionary(init));
  }
  return _blink.BlinkWorkerGlobalScope.instance
      .fetch_Callback_1_(this, input);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/WorkerGlobalScope/fetch.html