You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An event could have various parameters. When one is emitted, and the invoke function of Registry is called, how do we pass these (unknown to registry) parameters, and later on how to pass them on to the subscriber?
Current approach: Registery invokes subscriber methods without any argument, which is very limiting
Possible directions:
Limiting approaches: No arguments, known arguments (only an array of bytes is allowed)
Serialization approaches: Use a lightweight serialization format (think json, but more compact)
Assembly: If possible, allow invoke being called with a variable number of arguments, and with the help of assembly, pass them to subscriber's method.
The text was updated successfully, but these errors were encountered:
An event could have various parameters. When one is emitted, and the
invoke
function ofRegistry
is called, how do we pass these (unknown to registry) parameters, and later on how to pass them on to the subscriber?Current approach: Registery invokes subscriber methods without any argument, which is very limiting
Possible directions:
invoke
being called with a variable number of arguments, and with the help of assembly, pass them to subscriber's method.The text was updated successfully, but these errors were encountered: