HomeForumSourceResearchGuide
Sign in to contribute to source.
Type definition file .Service by barry
expand copy to clipboardexpand
/*
{"title" : "Service interface",
	"description" : "This is a utility interface for components that need to be started or stopped once they have been loaded / are about to be unloaded. By default, whenever a component is loaded into memory, the presence of this interface is checked and, if it exists, the start() function is called automatically."}
*/

interface Service{
	void start()
	void stop()
	}
Revision history
To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n Service.Service -m "reason for update" -u yourUsername
Version 1 (this version) by barry
Notes for this version: Standard Library Initialisation