Thanks, Josh, you were right! On Tuesday, June 6, 2017 at 5:59:47 PM UTC+3, Josh Tilles wrote: > > Dmitry, > > You need to return the updated component from start and stop. (See the > relevant section of the documentation > <https://github.com/stuartsierra/component/tree/component-0.3.2#creating-components>.) > In > your code, the start implementations are returning a keyword and the stop > implementations are returning nil. (The value of a (println ,,,) expression > is nil.) > > I hope that helps, > Josh > > P.S. You should be able to just use component/start; you shouldn’t need > to use component/start-system explicitly. > > On Tuesday, June 6, 2017 at 10:42:22 AM UTC-4, D.Bushenko wrote: >> >> Hi all, >> >> I've tried following the guide to the component and have two functions: >> start-all and stop-all. The start-all works as expected, but stop-all fails >> completely. Can anyone have a look at the code attached and help me figure >> out what is it wrong there? >> >> Dmitry >> >
-- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.