View definition

(App).RegisterFilter

Defined in github.com/golang/mobile/app/app.go

Description

RegisterFilter registers a event filter function to be called by Filter. The function can return a different event, or return nil to consume the event, but the function can also return its argument unchanged, where its purpose is to trigger a side effect rather than modify the event.

RegisterFilter is referenced in 0 repositories