forked from cory/tildefriends
Unused function.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3819 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
8ecc07452e
commit
39a1acaf38
@ -1206,12 +1206,6 @@ void tf_task_reject_promise(tf_task_t* task, promiseid_t promise, JSValue value)
|
||||
}
|
||||
}
|
||||
|
||||
JSValue tf_task_get_promise(tf_task_t* task, promiseid_t promise)
|
||||
{
|
||||
promise_t* it = _tf_task_find_promise(task, promise);
|
||||
return it ? it->values[0] : JS_NULL;
|
||||
}
|
||||
|
||||
taskid_t tf_task_allocate_task_id(tf_task_t* task, tf_taskstub_t* stub)
|
||||
{
|
||||
taskid_t id = 0;
|
||||
|
@ -60,7 +60,6 @@ const char* tf_task_get_name(tf_task_t* task);
|
||||
JSValue tf_task_allocate_promise(tf_task_t* task, promiseid_t* out_promise);
|
||||
void tf_task_reject_promise(tf_task_t* task, promiseid_t promise, JSValue error);
|
||||
void tf_task_resolve_promise(tf_task_t* task, promiseid_t promise, JSValue result);
|
||||
JSValue tf_task_get_promise(tf_task_t* task, promiseid_t promise);
|
||||
void tf_task_send_promise_message(tf_task_t* from, tf_taskstub_t* to, tf_task_message_t type, promiseid_t promise, JSValue payload);
|
||||
|
||||
void tf_task_on_receive_packet(int packetType, const char* begin, size_t length, void* userData);
|
||||
|
Loading…
Reference in New Issue
Block a user