PROTOCOL
PollingModelUpdatable
public protocol PollingModelUpdatable
A type that can receive and react to updates of a PollingModel.
- Important: All calls to
update(model:)are guaranteed to execute on the main thread.
Methods
update(model:)
func update(model: PollingModel)
Updates the receiver with a new polling model.
- Parameter model: The latest
PollingModel
Parameters
| Name | Description |
|---|---|
| model | The latest PollingModel |