[][src]Function dishub::ops::github::poll_user_events_new

pub fn poll_user_events_new(
    uname: &str,
    tokens: &AppTokens
) -> Result<(String, String, u64), Error>

Get the events for a user when you don't have an ETag (which is to say - for the first time).

The returned tuple contains:

You should use this only once and use poll_user_events_update() afterwards.

Examples

let (response, etag, next) = poll_user_events_new("nabijaczleweli", &tokens).unwrap();