Some operations like deleting and writing the local database do not need a return of flow since they are "one-time" operations. For reading the database, it would be okay since the flows would notify you of any change in the database but the former methods can have simple int returns.