Skip to content
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.

Improve typesafety of Remote #88

Open
jedesah opened this issue Jul 9, 2015 · 0 comments
Open

Improve typesafety of Remote #88

jedesah opened this issue Jul 9, 2015 · 0 comments
Labels

Comments

@jedesah
Copy link
Contributor

jedesah commented Jul 9, 2015

Currently, it is possible to create any kind of Remote. This is not too much of an issue because remotes should be generated by the macro most of the time. It might still be interesting to associate the creation of a Remote with it's environment and/or protocol in order to make manual creation more typesafe. It would also in theory make the macro implementation more fool proof (in theory).

It might also allow to more easily assert the fact that it is only possible to stream one stream per Remote call (if we decide to go down that route).

@jedesah jedesah added the feature label Jul 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant