lib/nestene/auton_context.rb in nestene-0.2.0 vs lib/nestene/auton_context.rb in nestene-0.2.1
- old
+ new
@@ -34,11 +34,13 @@
def create_auton type, auton_id=SecureRandom.uuid
Celluloid::Actor[:nestene_core].create_auton type, auton_id
end
- attr_reader :auton_id
+ def terminate
+ schedule_step '__terminate_this_auton'
+ end
-
+ attr_reader :auton_id
end
end
\ No newline at end of file