Talk:How To - Subscribe

From The Socknet

(Redirected from Talk:Subscription)
Jump to: navigation, search

Delayed Response for all calls

Considering creating a mechanism to delay response to any call.

  1. call is made
  2. response is not yet possible, so response is "Delay please"
  3. ...
  4. response is finally possible
  5. call is made to <function>-response (like subscription-response which currently exists)

The Pro: all functions can benefit without explicit request/response functions being defined in the specification.

The Con: extra complication for (a) the library writer, (b) the function implementer, (c) the function client... IE, everyone.

Alternative option: let subscription-response stand as an example for any calls that want to include this option.

Comments?

--Dan 18:40, 29 September 2009 (UTC)

I think forcing this option would ultimately make the system more complicated for no real gain. New functions that need this delay feature just need to be modelled after subscription-response. --Dan 20:05, 3 November 2009 (UTC)
Personal tools