Create "WP Heartbeat" API
|Reported by:||azaozz||Owned by:||nacin|
The purpose of this API is to simulate bidirectional connection between the browser and the server. Initially it will be used for autosave, post locking and log-in expiration warning while a user is writing or editing.
The idea is to have a relatively simple API that sends XHR requests to the server every 15 seconds and triggers events (or callbacks) on receiving data. Other components would be able to "hitch a ride" or get notified about another user's activities.
In the future this can be used to block simultaneous editing of widgets and menus or any other tasks that require regular updates from the server.
Change History (143)
comment:18 in reply to: ↑ 17 ; follow-up: ↓ 19 @F J Kaiser — 2 years ago
comment:24 in reply to: ↑ 21 @azaozz — 2 years ago
comment:38 in reply to: ↑ 36 @azaozz — 2 years ago
comment:85 in reply to: ↑ 83 @azaozz — 2 years ago
comment:95 @carldanley — 2 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
comment:97 in reply to: ↑ 96 @carldanley — 2 years ago
comment:102 in reply to: ↑ 101 ; follow-up: ↓ 104 @adamsilverstein — 2 years ago
comment:118 @nacin — 2 years ago
- Owner set to nacin
- Resolution set to fixed
- Status changed from reopened to closed