Commit 064f7223 authored by Mike Lynch's avatar Mike Lynch
Browse files

Took some to-do stuff out of the README.md

parent 068a21b3
......@@ -16,21 +16,4 @@ ExportAction - class representing an action in a sequence of actions which take
## To Do
The Exporter uses Observables in a naive and half-baked way. I'd like
to make it so that the whole export process is in an observable: like
const export = ws->export_all(); // returns Observable<ExportAction>
export.subscribe({
next: ea => ea.execute(),
error: err => console.error("There was an error"),
complete: () => console.log("Done")
});
This is a nice abstract interface which could be used as a web endpoint, a cli script, etc.
It also means that a copy from one ws to another could be a matter of chaining
an Observable of ExportActions to a receiver method on the second ws:
ws2->import_all(ws1->export_all);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment