Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Nisoku/Saikuro
/ functions
Functions
2,404 in github.com/Nisoku/Saikuro
⨍
Functions
2,404
◇
Types & classes
457
↓ 241 callers
Method
clone
(&self)
Build/crates/saikuro-exec/src/wasm_backend.rs:97
↓ 235 callers
Method
send
(obj: object)
Build/adapters/typescript/src/logger.ts:75
↓ 218 callers
Function
block_on
Run a future to completion on the current WASM thread. This uses `futures::executor::block_on` which polls the future in a loop. ## Important On si
Build/crates/saikuro-exec/src/wasm_backend.rs:394
↓ 148 callers
Method
recv
* Receive and deserialise the next message. * Returns `null` when the connection has been closed by the peer.
Build/adapters/typescript/src/transport/types.ts:15
↓ 103 callers
Method
get
Look up the provider for a namespace.
Build/crates/saikuro-router/src/provider.rs:165
↓ 95 callers
Method
close
Close the transport gracefully.
Build/adapters/typescript/src/transport/types.ts:6
↓ 94 callers
Method
split
(self)
Build/crates/saikuro-transport/src/tcp.rs:51
↓ 90 callers
Function
spawn
Spawn a future on the JS/WASM executor.
Build/crates/saikuro-exec/src/wasm_backend.rs:14
↓ 72 callers
Method
iter
Return an iterator over all tokens in the set.
Build/crates/saikuro-core/src/capability.rs:108
↓ 67 callers
Method
insert
Add a function schema.
Build/adapters/rust/src/schema.rs:53
↓ 61 callers
Method
info
(msg: string, extra?: Record<string, unknown>)
Build/adapters/typescript/src/logger.ts:123
↓ 52 callers
Method
register
* Register a function under the given local `name` within this provider's * namespace. The full qualified name becomes `"<namespace>.<name>"`.
Build/adapters/typescript/src/provider.ts:197
↓ 50 callers
Method
dispatch
(&self, envelope: Envelope)
Build/crates/saikuro-router/src/router.rs:140
↓ 48 callers
Function
primitive
(name: &str)
Build/adapters/c/src/cli/saikuro_c_schema.rs:24
↓ 45 callers
Function
set_last_error
(msg: impl Into<String>)
Build/adapters/c/src/lib.rs:22
↓ 44 callers
Method
pair
Create a connected pair of in-memory transports.
Build/adapters/typescript/src/transport/memory.ts:11
↓ 43 callers
Function
c
(text: &str)
Build/adapters/c/tests/common/mod.rs:5
↓ 43 callers
Method
insert
Add a token to the set.
Build/crates/saikuro-core/src/capability.rs:103
↓ 41 callers
Method
Register
<summary> Register a synchronous or async function. The <paramref name="handler"/> receives the args list and must return the result as <c>object?</c>
Build/adapters/csharp/Saikuro/src/Provider.cs:256
↓ 41 callers
Method
len
Return the number of tokens in the set.
Build/crates/saikuro-core/src/capability.rs:113
↓ 40 callers
Method
generate
(&self, schema: &Schema)
Build/crates/saikuro-codegen/src/c.rs:19
↓ 38 callers
Method
error
(msg: string, extra?: Record<string, unknown>)
Build/adapters/typescript/src/logger.ts:133
↓ 38 callers
Method
pair
(cls)
Build/adapters/python/saikuro/transport/memory.py:38
↓ 36 callers
Method
Pair
()
Build/adapters/csharp/Saikuro/src/Transport/InMemoryTransport.cs:20
↓ 36 callers
Method
is_empty
Return `true` if no tokens are held.
Build/crates/saikuro-core/src/capability.rs:118
↓ 36 callers
Method
put
(&self, namespace: &str, key: &str, value: Bytes)
Build/crates/saikuro-storage/src/fs.rs:197
↓ 36 callers
Method
run
(mut self)
Build/crates/saikuro-runtime/src/connection.rs:141
↓ 35 callers
Method
teardown
(self)
Build/adapters/python/tests/test_client.py:30
↓ 33 callers
Method
is_null
(&self)
Build/crates/saikuro-core/src/value.rs:66
↓ 31 callers
Method
as_str
(&self)
Build/crates/saikuro-core/src/value.rs:114
↓ 30 callers
Method
CloseAsync
<summary>Gracefully close the client and its transport.</summary>
Build/adapters/csharp/Saikuro/src/Client.cs:220
↓ 30 callers
Function
channel
(buffer: usize)
Build/crates/saikuro-exec/src/wasm_backend.rs:108
↓ 29 callers
Method
RecvAsync
<summary> Receive the next message. Returns <c>null</c> on clean EOF (peer closed). </summary>
Build/adapters/csharp/Saikuro/src/Transport/ITransport.cs:23
↓ 28 callers
Method
SendAsync
<summary>Send a message to the provider side of the channel.</summary>
Build/adapters/csharp/Saikuro/src/Client.cs:122
↓ 27 callers
Function
ok
(msg)
Demo/dev.mjs:29
↓ 27 callers
Method
register
Register a function handler. The closure receives a `Vec<Value>` (JSON values) and must return a `Future<Output = Result<Value>>`. ```no_run # use s
Build/adapters/rust/src/provider.rs:83
↓ 26 callers
Method
fromPayload
Construct the most specific subclass for a wire error payload.
Build/adapters/typescript/src/error.ts:25
↓ 25 callers
Method
clear
()
Demo/src/lib/message-log.ts:22
↓ 25 callers
Method
from_error_dict
Construct the most specific subclass for a wire error payload.
Build/adapters/python/saikuro/error.py:29
↓ 25 callers
Method
schemaObject
* Return the namespace schema as a plain {@link SaikuroSchema} object * suitable for schema announcement. * * When a handler was registered w
Build/adapters/typescript/src/provider.ts:360
↓ 24 callers
Method
FromPayload
<summary>Construct the most specific subclass for a wire error payload.</summary>
Build/adapters/csharp/Saikuro/src/Errors.cs:28
↓ 24 callers
Method
MakeCall
( string target, IReadOnlyList<object?> args, string? capability = null )
Build/adapters/csharp/Saikuro/src/Envelope.cs:147
↓ 24 callers
Method
debug
(msg: string, extra?: Record<string, unknown>)
Build/adapters/typescript/src/logger.ts:118
↓ 24 callers
Method
log
Forward a structured log record to the runtime log sink. This is fire-and-forget and does not wait for a response.
Build/adapters/rust/src/client.rs:493
↓ 24 callers
Method
ok
Construct a successful response carrying a result value.
Build/crates/saikuro-core/src/envelope.rs:256
↓ 24 callers
Method
register_function
Imperative variant of `register`.
Build/adapters/python/saikuro/provider.py:94
↓ 22 callers
Method
block_on
Block on a future using the single-threaded wasm executor.
Build/crates/saikuro-exec/src/wasm_backend.rs:432
↓ 21 callers
Method
empty
()
Build/adapters/python/tests/test_client.py:233
↓ 21 callers
Method
handle
Produce a cheap [`RuntimeHandle`] that can be cloned and shared across tasks.
Build/crates/saikuro-runtime/src/runtime.rs:115
↓ 21 callers
Method
next
Receive the next item from the stream. Returns `None` when the stream is closed.
Build/adapters/rust/src/client.rs:68
↓ 21 callers
Method
onMessage
Register a handler invoked for every received message.
Build/adapters/typescript/src/transport/types.ts:18
↓ 21 callers
Function
promise_await
(promise: ::js_sys::Promise)
Build/crates/saikuro-storage/src/fs_access.rs:42
↓ 21 callers
Function
run
(cmd: list[str], cwd: StrPath = REPO_ROOT)
Build/scripts/shared/run.py:9
↓ 20 callers
Method
FromMsgpackDict
<summary>Deserialise from a raw MessagePack map.</summary>
Build/adapters/csharp/Saikuro/src/Envelope.cs:296
↓ 20 callers
Function
clear_last_error
()
Build/adapters/c/src/lib.rs:28
↓ 20 callers
Function
promise_await
(promise: ::js_sys::Promise)
Build/crates/saikuro-storage/src/opfs.rs:36
↓ 19 callers
Function
_p
(code: str, message: str = "msg")
Build/adapters/python/tests/test_error.py:24
↓ 19 callers
Function
connect_simulated_peer
Wire the "simulated adapter" side: returns `(sender, receiver)` for the test to drive, while the runtime's `ConnectionHandler` is spawned in the backg
Build/tests/tests/cross_language_wire.rs:96
↓ 19 callers
Function
last_error
Build/adapters/cpp/include/saikuro/saikuro.hpp:29
↓ 19 callers
Function
makeHarness
* Wire a SaikuroClient and SaikuroProvider together over an InMemoryTransport * pair, bypassing the announce handshake (not needed for unit tests).
Build/adapters/typescript/tests/client.test.ts:32
↓ 19 callers
Method
open
Connect the transport and start the receive loop.
Build/adapters/typescript/src/client.ts:274
↓ 18 callers
Method
Dequeue
()
Build/adapters/csharp/Saikuro/tests/BroadcastChannelTests.cs:353
↓ 18 callers
Method
_dispatch
Handle one inbound invocation envelope.
Build/adapters/python/saikuro/provider.py:119
↓ 18 callers
Method
build
Build the runtime. This does not start any listener loops; use [`RuntimeHandle`] methods to attach transports.
Build/crates/saikuro-runtime/src/runtime.rs:53
↓ 18 callers
Function
decode_response
Decode a raw MessagePack frame into a [`ResponseEnvelope`].
Build/tests/tests/cross_language_wire.rs:27
↓ 18 callers
Function
p
( code: ConstructorParameters<typeof SaikuroError>[0]["code"], message = "msg", )
Build/adapters/typescript/tests/error.test.ts:24
↓ 18 callers
Function
sleep
Time utilities
Build/crates/saikuro-exec/src/wasm_backend.rs:348
↓ 18 callers
Function
timeout
(dur: Duration, fut: F)
Build/crates/saikuro-exec/src/wasm_backend.rs:352
↓ 18 callers
Function
wc
Demo/wasm/c/insight_c.c:36
↓ 17 callers
Method
CreateAsync
(string ns = "test")
Build/adapters/csharp/Saikuro/tests/ClientTests.cs:33
↓ 17 callers
Method
_connect
(self)
Build/adapters/python/saikuro/client.py:78
↓ 17 callers
Function
block
Spawn blocking I/O, converting [`JoinError`] to [`StorageError`].
Build/crates/saikuro-storage/src/fs.rs:13
↓ 17 callers
Method
call
* Perform a request/response call and return the result value. * * @throws {SaikuroError} (or a specific subclass) on a wire-level error. * @
Build/adapters/typescript/src/client.ts:305
↓ 17 callers
Function
encode_envelope
Encode an [`Envelope`] to raw MessagePack bytes (as any adapter would).
Build/tests/tests/cross_language_wire.rs:22
↓ 17 callers
Method
make_call
( cls, target: str, args: List[Any], capability: Optional[str] = None )
Build/adapters/python/saikuro/envelope.py:150
↓ 16 callers
Method
Add
<summary>Add two integers.</summary>
Build/adapters/csharp/tools/extractor/FixtureService.cs:12
↓ 16 callers
Method
OpenAsync
<summary>Connect the transport and start the receive loop.</summary>
Build/adapters/csharp/Saikuro/src/Client.cs:208
↓ 16 callers
Method
call
Invocation API Perform a request/response call and return the result.
Build/adapters/rust/src/client.rs:328
↓ 16 callers
Method
fromTransport
Construct a client from a transport without connecting immediately.
Build/adapters/typescript/src/client.ts:264
↓ 16 callers
Function
make_harness
Wire a SaikuroClient and SaikuroProvider together without the announce handshake so tests are instant.
Build/adapters/python/tests/test_client.py:39
↓ 16 callers
Function
yield_now
()
Build/crates/saikuro-exec/src/wasm_backend.rs:366
↓ 15 callers
Method
Deliver
(byte[] data)
Build/adapters/csharp/Saikuro/tests/BroadcastChannelTests.cs:340
↓ 15 callers
Method
ToMsgpackDict
<summary>Serialise to the canonical MessagePack-ready dictionary.</summary>
Build/adapters/csharp/Saikuro/src/Envelope.cs:272
↓ 15 callers
Method
ToWire
(this LogLevel level)
Build/adapters/csharp/Saikuro/src/Logger.cs:32
↓ 15 callers
Method
exists
(&self, namespace: &str, key: &str)
Build/crates/saikuro-storage/src/fs.rs:187
↓ 15 callers
Method
from_msgpack_dict
(cls, d: Dict[str, Any])
Build/adapters/python/saikuro/envelope.py:254
↓ 15 callers
Function
getLogger
(name: string)
Build/adapters/typescript/src/logger.ts:142
↓ 14 callers
Method
Decode
(ReadOnlyMemory<byte> bytes)
Build/adapters/csharp/Saikuro/src/Transport/MsgpackHelper.cs:18
↓ 14 callers
Method
Encode
(Dictionary<string, object?> obj)
Build/adapters/csharp/Saikuro/src/Transport/MsgpackHelper.cs:9
↓ 14 callers
Method
FromTransport
<summary>Construct a client from a transport without connecting.</summary>
Build/adapters/csharp/Saikuro/src/Client.cs:200
↓ 14 callers
Method
WaitAsync
(CancellationToken ct = default)
Build/adapters/csharp/Saikuro/tests/BroadcastChannelTests.cs:361
↓ 14 callers
Method
dispatch
* Dispatch a single inbound invocation envelope. * * Called by the serve loop and also usable in testing.
Build/adapters/typescript/src/provider.ts:431
↓ 14 callers
Method
from_dict
Deserialise from a plain dict (as decoded from MessagePack). Raises :class:`ValueError` if ``d`` is not a mapping or is missing the r
Build/adapters/python/saikuro/envelope.py:103
↓ 14 callers
Method
from_transport
Construct a client from an already-instantiated transport without connecting.
Build/adapters/python/saikuro/client.py:65
↓ 14 callers
Function
make_provider
(namespace: &str)
Build/tests/tests/common/mod.rs:24
↓ 14 callers
Function
make_schema_with_math
()
Build/tests/tests/codegen_output.rs:32
↓ 14 callers
Function
primitive
(name: &str)
Build/adapters/rust/src/cli/saikuro_rust_schema.rs:26
↓ 13 callers
Method
add
(&mut self, path: impl Into<String>, content: impl Into<String>)
Build/crates/saikuro-codegen/src/generator.rs:28
↓ 13 callers
Method
build
Return the schema announcement dict for this namespace.
Build/adapters/python/saikuro/schema.py:207
↓ 13 callers
Method
call
Perform a request/response call and return the result. Raises: SaikuroError (or a specific subclass) on failure. asyn
Build/adapters/python/saikuro/client.py:149
next →
1–100 of 2,404, ranked by callers