[ABANDONED] use Nuxed instead
azjezz / waffle Goto Github PK
View Code? Open in Web Editor NEW[ABANDONED] use nuxed instead
Home Page: https://github.com/nuxed/framework
License: MIT License
[ABANDONED] use nuxed instead
Home Page: https://github.com/nuxed/framework
License: MIT License
[ABANDONED] use Nuxed instead
i think it would be best to take advantage of Hack's async in some places here.
These contracts can be async, and probably should :
interface CacheItemPoolInterface extends ResetInterface
{
public function getItem(string $key): Awaitable<CacheItemInterface>;
public function getItems(Container<string> $keys = vec[]): Awaitable<KeyedContainer<string, CacheItemInterface>>;
public function hasItem(string $key): Awaitable<bool>;
public function clear(): Awaitable<bool>;
public function deleteItem(string $key): Awaitable<bool>;
public function deleteItems(Container<string> $keys): Awaitable<bool>;
public function save(CacheItemInterface $item): Awaitable<bool>;
public function commit(): Awaitable<bool>;
}
interface CacheInterface
{
public function get(string $key, mixed $default = null): Awaitable<mixed>;
public function set(string $key, mixed $value, ?DateInterval $ttl = null): Awaitable<bool>;
public function delete(string $key): Awaitable<bool>;
public function clear(): Awaitable<bool>;
public function getMultiple(Container<string> $keys,mixed $default = null): Awaitable<KeyedContainer<string, mixed>>;
public function setMultiple(KeyedContainer<string, mixed> $values,?DateInterval $ttl = null): Awaitable<bool>;
public function deleteMultiple(Container<string> $keys): Awaitable<bool>;
public function has(string $key): Awaitable<bool>;
}
interface EventDispatcherInterface extends ResetInterface
{
...
/**
* Dispatch an event and call the listeners.
*/
public function dispatch(EventInterface $event): Awaitable<EventInterface>;
...
}
interface RequestHandlerInterface
{
/**
* Handle the request and return a response.
*/
public function handle(ServerRequestInterface $request): Awaitable<ResponseInterface>;
}
interface MiddlewareInterface
{
/**
* Process an incoming server request and return a response, optionally delegating
* response creation to a handler.
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): Awaitable<ResponseInterface>;
}
literaly ten outa ten project no issues experienced, gotta say. keep it up definitely would receomend
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.