canjs / can-stream-kefir

Stream values into and out of computes
https://canjs.com/doc/can-stream-kefir.html
MIT License
3 stars 2 forks source link

can-stream proposal #24

Closed obaidott closed 7 years ago

obaidott commented 7 years ago

Proposal:

Goals:

Stream API:

can-stream:

canStreamInterface:

Any can-stream-X library should implement the following methods:

can-define-stream:

Usage:

var canDefineStreamKefir = require("can-define-stream-kefir");
var DefineMap = require("can-define/map/map");
var Person = DefineMap({name: "string"});
canDefineStreamKefir(Person);
frank-dspeed commented 7 years ago

@phillipskevin can't this be closed as now can-stream and can-stream-kefir exist?

frank-dspeed commented 7 years ago

@chasenlehara maybe you can look into this i think can-stream got created already or this is the wrong repo anyway for that proposal