Re: Can DependencyProvider handle events?

35 views
Skip to first unread message
Message has been deleted

David Szotten

unread,
Mar 25, 2018, 4:49:49 AM3/25/18
to nameko-dev
i'm afraid i don't understand your question. could you please try to clarify what you would like to know?

d

On Sunday, 25 March 2018 07:47:27 UTC+1, qile...@gmail.com wrote:
class AppConfig(DependencyProvider):

@event_handler('config', 'update', handler_type=BROADCAST, reliable_delivery=False)
def on_config_updated(self, payload):
load_config()



Message has been deleted

kirkodo...@gmail.com

unread,
Apr 28, 2018, 12:50:25 PM4/28/18
to nameko-dev
You will need to make an entrypoint that will listen to an event, that entrypoint will call on a dependency.
Reply all
Reply to author
Forward
0 new messages