Merge pull request '(Mostly) under the hoood improvements' (#3) from fix-x-concurrency into main
Reviewed-on: #3
This commit is contained in:
commit
19b744250f
@ -10,12 +10,12 @@ type Application struct {
|
|||||||
icons []image.Image
|
icons []image.Image
|
||||||
backend Backend
|
backend Backend
|
||||||
config Config
|
config Config
|
||||||
|
callbackManager CallbackManager
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run initializes the application, starts it, and then returns a channel that
|
// Run initializes the application, starts it, and then returns a channel that
|
||||||
// broadcasts events. If no suitable backend can be found, an error is returned.
|
// broadcasts events. If no suitable backend can be found, an error is returned.
|
||||||
func (application *Application) Run () (
|
func (application *Application) Run () (
|
||||||
channel chan(Event),
|
|
||||||
err error,
|
err error,
|
||||||
) {
|
) {
|
||||||
// default values for certain parameters
|
// default values for certain parameters
|
||||||