vault backup: 2026-07-12 14:13:25
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@
|
|||||||
"mergeStrategy": "none",
|
"mergeStrategy": "none",
|
||||||
"customMessageOnAutoBackup": false,
|
"customMessageOnAutoBackup": false,
|
||||||
"autoBackupAfterFileChange": false,
|
"autoBackupAfterFileChange": false,
|
||||||
"treeStructure": true,
|
"treeStructure": false,
|
||||||
"refreshSourceControl": true,
|
"refreshSourceControl": true,
|
||||||
"basePath": "",
|
"basePath": "",
|
||||||
"differentIntervalCommitAndPush": false,
|
"differentIntervalCommitAndPush": false,
|
||||||
|
|||||||
Vendored
+26
-18
@@ -4,33 +4,21 @@
|
|||||||
"type": "split",
|
"type": "split",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "567dae9a01eaef2f",
|
"id": "7949e15551785685",
|
||||||
"type": "tabs",
|
"type": "tabs",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "127ce2a147446e39",
|
"id": "60549d0ba028ec00",
|
||||||
"type": "leaf",
|
|
||||||
"state": {
|
|
||||||
"type": "pdf",
|
|
||||||
"state": {
|
|
||||||
"file": "Semester 2/EIST/EIST CHEATSHEET.pdf"
|
|
||||||
},
|
|
||||||
"icon": "lucide-file-text",
|
|
||||||
"title": "EIST CHEATSHEET"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "37f018f4ea886da2",
|
|
||||||
"type": "leaf",
|
"type": "leaf",
|
||||||
"state": {
|
"state": {
|
||||||
"type": "markdown",
|
"type": "markdown",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "EIDI/JVM.md",
|
"file": "Semester 2/EIST/EIST CHEATSHEET.md",
|
||||||
"mode": "source",
|
"mode": "source",
|
||||||
"source": false
|
"source": false
|
||||||
},
|
},
|
||||||
"icon": "lucide-file",
|
"icon": "lucide-file",
|
||||||
"title": "JVM"
|
"title": "EIST CHEATSHEET"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -163,9 +151,29 @@
|
|||||||
"icon": "lucide-list",
|
"icon": "lucide-list",
|
||||||
"title": "Outline"
|
"title": "Outline"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "381d17d250860f12",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "git-view",
|
||||||
|
"state": {},
|
||||||
|
"icon": "git-pull-request",
|
||||||
|
"title": "Source Control"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "39b0dc6fea1c09a5",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "git-history-view",
|
||||||
|
"state": {},
|
||||||
|
"icon": "history",
|
||||||
|
"title": "History"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"currentTab": 0
|
"currentTab": 3
|
||||||
},
|
},
|
||||||
"left-ribbon": {
|
"left-ribbon": {
|
||||||
"hiddenItems": {
|
"hiddenItems": {
|
||||||
@@ -181,7 +189,7 @@
|
|||||||
"bases:Create new base": false
|
"bases:Create new base": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"active": "127ce2a147446e39",
|
"active": "60549d0ba028ec00",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
"Semester 2/EIST/EIST CHEATSHEET.md",
|
"Semester 2/EIST/EIST CHEATSHEET.md",
|
||||||
"Semester 2/EIST/EIST CHEATSHEET.pdf",
|
"Semester 2/EIST/EIST CHEATSHEET.pdf",
|
||||||
|
|||||||
Vendored
+17
-7
@@ -11,14 +11,14 @@
|
|||||||
"id": "3ba46ad009838dd8",
|
"id": "3ba46ad009838dd8",
|
||||||
"type": "leaf",
|
"type": "leaf",
|
||||||
"state": {
|
"state": {
|
||||||
"type": "markdown",
|
"type": "split-diff-view",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "Semester 2/EIST/EIST CHEATSHEET.md",
|
"aFile": "Semester 2/EIST/EIST CHEATSHEET.md",
|
||||||
"mode": "source",
|
"bFile": "Semester 2/EIST/EIST CHEATSHEET.md",
|
||||||
"source": false
|
"aRef": ""
|
||||||
},
|
},
|
||||||
"icon": "lucide-file",
|
"icon": "diff",
|
||||||
"title": "EIST CHEATSHEET"
|
"title": "Diff: EIST CHEATSHEET (Working Tree)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -174,6 +174,16 @@
|
|||||||
"icon": "git-pull-request",
|
"icon": "git-pull-request",
|
||||||
"title": "Source Control"
|
"title": "Source Control"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "96740dab0bf396d5",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "git-history-view",
|
||||||
|
"state": {},
|
||||||
|
"icon": "history",
|
||||||
|
"title": "History"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"currentTab": 5
|
"currentTab": 5
|
||||||
@@ -198,9 +208,9 @@
|
|||||||
},
|
},
|
||||||
"active": "3ba46ad009838dd8",
|
"active": "3ba46ad009838dd8",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
|
"Semester 2/EIST/EIST CHEATSHEET.md",
|
||||||
"Semester 2/EIST/Progress.md",
|
"Semester 2/EIST/Progress.md",
|
||||||
"Semester 2/EIST/EIST CHEATSHEET.pdf",
|
"Semester 2/EIST/EIST CHEATSHEET.pdf",
|
||||||
"Semester 2/EIST/EIST CHEATSHEET.md",
|
|
||||||
"2026-07-10.md",
|
"2026-07-10.md",
|
||||||
"Semester 2/EIST/lu280859klubr.tmp",
|
"Semester 2/EIST/lu280859klubr.tmp",
|
||||||
"Semester 2/EIST/lu280859klubn.tmp",
|
"Semester 2/EIST/lu280859klubn.tmp",
|
||||||
|
|||||||
@@ -580,6 +580,21 @@ public void getAlbumMetadata(EntitiesRequest request, StreamObserver<Albums> res
|
|||||||
responseObserver.onCompleted();
|
responseObserver.onCompleted();
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### If you want to return an error
|
||||||
|
```java
|
||||||
|
public void getTrafficData(RouteRequest request, StreamObserver<TrafficResponse> responseObserver) {
|
||||||
|
var trafficModel = db.getTrafficModel(request);
|
||||||
|
var response = trafficModel.query(request);
|
||||||
|
if(response.isPresent()) {
|
||||||
|
responseObserver.onNext(response.get());
|
||||||
|
responseObserver.onCompleted();
|
||||||
|
} else {
|
||||||
|
// Just pass an exception with the onError method
|
||||||
|
responseObserver.onError(new Exception("No data available."));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
## Client Side
|
## Client Side
|
||||||
|
|
||||||
#### Setup
|
#### Setup
|
||||||
|
|||||||
Reference in New Issue
Block a user