8000 GitHub - lreszka/capsule: DSL for things which can be started and stopped
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lreszka/capsule

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Capsule

Capsule is a simple Scala API for building, using and extending a domain-specific language (DSL) for managing start and stop logic.

Example

A Capsule DSL utilization might look like this:

// Somewhere in your code
whenTurnedOn {
  whenDevicePluggedIn {
    lightLED()
  }
}

Documentation

Further reading

See project Domino for a real-world application of this API.

About

DSL for things which can be started and stopped

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 100.0%
0