Skip to content

Need a way to refresh from the server #18

@arobson

Description

@arobson

I'm still thinking this through, but at least for the top-level, it would be nice if there were a way to tell halon to re-pull from the root url via options and refresh the top-level resource metadata.

halon.refresh(); // ?

I think for any other entity, just calling the self command should likely be the way to do this (although a way to ship updates into the resource instances from a websocket would be sweet).

I don't know how often/useful this would be in the browser, but for long-running server-side API consumers, (like the REPL I'm working on) it's a must have.

/cc @ifandelse

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions