Skip to content

Commit cc592aa

Browse files
committed
Ensure listener notification.
1 parent 23f6c57 commit cc592aa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

hub/src/main/java/cloud/katta/protocols/hub/HubSession.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,10 @@ public UserKeys getUserKeys() {
253253
@SuppressWarnings("unchecked")
254254
public <T> T _getFeature(final Class<T> type) {
255255
if(type == ListService.class) {
256-
return (T) (ListService) (directory, listener) -> vaults;
256+
return (T) (ListService) (Path directory, ListProgressListener listener) -> {
257+
listener.chunk(directory, vaults);
258+
return vaults;
259+
};
257260
}
258261
if(type == Scheduler.class) {
259262
return (T) access;

0 commit comments

Comments
 (0)