projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
♻️ Slightly improve messy expression
[Sone.git]
/
src
/
main
/
kotlin
/
net
/
pterodactylus
/
sone
/
freenet
/
plugin
/
PluginConnector.kt
diff --git
a/src/main/kotlin/net/pterodactylus/sone/freenet/plugin/PluginConnector.kt
b/src/main/kotlin/net/pterodactylus/sone/freenet/plugin/PluginConnector.kt
index
db48dc3
..
88feb13
100644
(file)
--- a/
src/main/kotlin/net/pterodactylus/sone/freenet/plugin/PluginConnector.kt
+++ b/
src/main/kotlin/net/pterodactylus/sone/freenet/plugin/PluginConnector.kt
@@
-1,5
+1,5
@@
/*
/*
- * Sone - PluginConnector.kt - Copyright © 2010–20
19
David Roden
+ * Sone - PluginConnector.kt - Copyright © 2010–20
20
David Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-36,7
+36,7
@@
interface PluginConnector {
* @throws PluginException if the plugin identified by [pluginName] does not exist
*/
@Throws(PluginException::class)
* @throws PluginException if the plugin identified by [pluginName] does not exist
*/
@Throws(PluginException::class)
-
fun sendRequest(pluginName: String, identifier
: String, fields: SimpleFieldSet, data: Bucket? = null): PluginReply
+
suspend fun sendRequest(pluginName
: String, fields: SimpleFieldSet, data: Bucket? = null): PluginReply
}
}