Skip to content
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

Link#load in case of disabled continous streaming, then manual tip #345

Open
sublimator opened this issue Jun 29, 2023 · 0 comments
Open
Labels
discussion A discussion thread pondering a meta-topic that may lead to specific proposals

Comments

@sublimator
Copy link
Collaborator

Context:

With that in mind, we tried to address the delay you mentioned specifically in
this version of the spec. The <link> load event should fire as soon as a valid
payment pointer has loaded (which is determined when JSON parsing the response,
rather than waiting for an Interledger connection), and we expect people to
unlock any extra features or content at this stage in good faith, without
waiting for the first "monetized" event (which is where the delay comes
from). 

link#load is/was intended to be used to unlock content

Where this model may break down

Automatic payment is rejected due to disabling

You don't emit the load event

State is not 'interactive' (see reference 2 re 'states')

'monetization' event may still come from user initiated tip, even
though this breaks the state model, where it says no payments will
come when the link is in the idle state

(I have seen examples of using only load event to unlock exclusive content)

You do emit the load event, to keep state coherent

In this case automatic payments are disabled

This means that the load event is not as useful for guessing whether
payments will come, and "optimistically" show content.

Originally from:
1 / 2

@sublimator sublimator changed the title link#load in case of disabled continous streaming, then manual tip Link#load in case of disabled continous streaming, then manual tip Jun 29, 2023
@melissahenderson melissahenderson added the discussion A discussion thread pondering a meta-topic that may lead to specific proposals label Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion A discussion thread pondering a meta-topic that may lead to specific proposals
Projects
None yet
Development

No branches or pull requests

2 participants