danalex97 / Speer

A network discrete event simulator for peer-to-peer network modeling.
MIT License
14 stars 3 forks source link

Support for progress properties #30

Closed danalex97 closed 6 years ago

danalex97 commented 6 years ago

A possible interface would be:

type Progress interface {
    // The function that should be called after progress has been made. 
    Progress()

    // The function that should block until we have Progressed enough.
    Advance()  
}

A possible progress property would be that each peer has handled its incoming messages. The progress properties should be scheduled at given intervals. :grin: