Skip to content

Describe current behavior on the cache interface #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

WyriHaximus
Copy link
Member

@WyriHaximus WyriHaximus commented Feb 3, 2018

After a discussion with @jsor and @clue I've crafted this PR to only describe the current behavior.

interface CacheInterface
{
// @return React\Promise\PromiseInterface
/**
* Retrieve an item from cache, resolves with its value on
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Retrieve an item from the cache

// @return React\Promise\PromiseInterface
/**
* Retrieve an item from cache, resolves with its value on
* success or rejects on when no item can be found.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on

public function get($key);

/**
* Stores an item in the cache.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Store

WyriHaximus added a commit to WyriHaximus-labs/cache that referenced this pull request Feb 3, 2018
WyriHaximus added a commit to WyriHaximus-labs/cache that referenced this pull request Feb 3, 2018
WyriHaximus added a commit to WyriHaximus-labs/cache that referenced this pull request Feb 3, 2018
@WyriHaximus
Copy link
Member Author

@jsor cheers, fixed the issues you pointed out 👍

Copy link
Member

@clue clue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, can you squash this before merging? 👍

@WyriHaximus
Copy link
Member Author

@clue sure thing, once @jsor approves as well I'll squash and merge

@WyriHaximus WyriHaximus force-pushed the cache-interface-documentation-current-behavior branch from 6689851 to 37ee805 Compare February 5, 2018 14:14
@WyriHaximus WyriHaximus merged commit b7a2a91 into reactphp:master Feb 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy