Serverless principal
09 Dec 2019- There are at least one task need to be done when certain events occur. (Event driven)
- We do nothing until event occur. (No deamon)
- People can wait until tasks have been done. (Queue)
interface Event
{
public function get();
}
interface EventHandler
{
public function handler(Event $event);
}