Skip to content

Improve Custom Callables and add SignalConnector #803

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: rework/signal-callable
Choose a base branch
from

Conversation

CedNaru
Copy link
Member

@CedNaru CedNaru commented Apr 6, 2025

Implement #765

First of a series of 3 PRs aiming at improving the Signal and Callable.
This one only focus on improving the Callable interface and fixing memory issues with CustomCallable.

For now, I disabled Java. I will remake it in the next PRs.
Don't worry, I'm targeting a working branch, not master.

@CedNaru CedNaru force-pushed the feautre/SignalConnector branch 8 times, most recently from 4a8dbc5 to 9945b0c Compare April 9, 2025 02:12
@CedNaru CedNaru force-pushed the feautre/SignalConnector branch from 9945b0c to 9e77fb8 Compare April 28, 2025 15:54
@CedNaru CedNaru marked this pull request as ready for review April 29, 2025 20:08
@CedNaru CedNaru requested review from chippmann and piiertho and removed request for chippmann April 29, 2025 20:08
@CedNaru CedNaru changed the base branch from master to rework/signal-callable April 29, 2025 20:10
@CedNaru CedNaru linked an issue Apr 29, 2025 that may be closed by this pull request
@CedNaru CedNaru force-pushed the feautre/SignalConnector branch from 4e6fd61 to 0e92e0a Compare May 1, 2025 09:37
* @return The loaded resource, or null if there was an error.
*/
public suspend inline fun ResourceLoader.awaitLoad(
path: String,
typeHint: String = "",
useSubThreads: Boolean = false,
cacheMode: CacheMode = ResourceLoader.CacheMode.REUSE,
crossinline onProgress: (RealT) -> Unit = {},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd love for this to make a return at some point :-) Just a note not really related to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Add signal connection handle
2 participants