You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-19 16:42:09 +03:00
Design the API for the scheduler and hook MatrixClient up to it.
Scheduler itself still needs internal impl.
This commit is contained in:
@@ -57,9 +57,7 @@ module.exports.createClient = function(opts) {
|
||||
}
|
||||
opts.request = request;
|
||||
opts.store = new module.exports.MatrixInMemoryStore();
|
||||
opts.scheduler = new module.exports.MatrixScheduler(
|
||||
function() {} // TODO
|
||||
);
|
||||
opts.scheduler = new module.exports.MatrixScheduler();
|
||||
return new module.exports.MatrixClient(opts);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user