I hereby claim:
- I am emaringolo on github.
- I am emaringolo (https://keybase.io/emaringolo) on keybase.
- I have a public key whose fingerprint is A693 D5C7 226E 1254 9132 45E6 AE8F 6B83 81F5 D5AD
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| ZnClient subclass: #ZnCachingClient | |
| instanceVariableNames: '' | |
| classVariableNames: '' | |
| package: 'Zinc-HTTP-CachingClient' | |
| execute | |
| "Execute the currently set up request to generate a response. | |
| If the request was performed before, retrieve the cached version. | |
| Return the #contents of the response, if any." |
| import 'dart:async'; | |
| void main(List<String> arguments) { | |
| var c = StreamController(); | |
| var s = c.stream | |
| .transform(StreamTransformer.fromHandlers(handleData: (data, sink) { | |
| sink.add(data); | |
| }, handleDone: (sink) => sink.close())); | |
| s.listen((event) { |