@Nullable
    @ObjectiveCName("editNameCommandWithUid:withName:")
    public Command<Boolean> editName(final int uid, final String name) {
        return callback -> modules.getUsersModule().editName(uid, name)
                .then(v -> callback.onResult(true))
                .failure(e -> callback.onError(e));
    }
@ Nullable @ ObjectiveCName ( "editNameCommandWithUid:withName:" ) public Command < Boolean > editName ( final int uid , final String name ) { return callback -> modules . getUsersModule ( ) . editName ( uid , name ) . then ( v -> callback . onResult ( true ) ) . failure ( e -> callback . onError ( e ) ) ; }
Edit user's local name

@param uid  user's id
@param name new user's local name
@return Command for execution