API change on Channel

7 views
Skip to first unread message

Benjamin Lerman

unread,
Jul 7, 2010, 3:47:55 PM7/7/10
to gwt-pecti...@googlegroups.com
Hi,

I join a patch with a proposed API change on Channel:
http://www.ambre.net/misc/gwt-pectin-channel-20100707.patch

The changes is minor, it consists on changing the signature:

* Destination<T> asDestination();

by:

* <U extends T> Destination<U> asDestination();

The idea is to be able to have multiple HasValue of different type be
able to all publish on a Channel<Object>

Cheers,

--
Benjamin

Andrew

unread,
Jul 9, 2010, 10:50:42 PM7/9/10
to GWT Pectin
Can you raise an issue for this so I don't miss it? Including a quick
example of how it's not working for you would help. I'm wondering if
I should fixed this at the other end i.e. things that send to channels
should support sendTo(Channel<? super T>).

Benjamin Lerman

unread,
Jul 27, 2010, 4:43:15 AM7/27/10
to GWT Pectin
Hi,

> Can you raise an issue for this so I don't miss it?

Done: http://code.google.com/p/gwt-pectin/issues/detail?id=31

> Including a quick
> example of how it's not working for you would help.  I'm wondering if
> I should fixed this at the other end i.e. things that send to channels
> should support sendTo(Channel<? super T>).

That should work also. The method that does not do this, right now,
is the to method of ValueBindingBuilder

--
Benjamin
Reply all
Reply to author
Forward
0 new messages