X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FTak%2FRole%2FService.pm;h=5bcf7cace44e42d39f673207327a0f8ddcd08c91;hb=542ab4162ceb2ed5deadae8e8440af2046e45674;hp=3ee3d7f124554365c47353fb8391990d473cf8cd;hpb=77bf1d9b5b6832894676ab549ee5664cb7200d33;p=scpubgit%2FTak.git diff --git a/lib/Tak/Role/Service.pm b/lib/Tak/Role/Service.pm index 3ee3d7f..5bcf7ca 100644 --- a/lib/Tak/Role/Service.pm +++ b/lib/Tak/Role/Service.pm @@ -33,4 +33,9 @@ sub receive { } } +# This assumes that by default either services are not stateful +# or do want to have persistent state. It's notably overriden by Router. + +sub clone_or_self { $_[0] } + 1;